En rigtig anmodning. Et rigtigt resultat.
Brug API'en eller den understøttede integrationsoverflade til at erstatte identifikatorer, før indhold når downstream-systemer, der ikke kræver originalerne.
curl https://api.pseudonymize.io/v1/text \
-H "Authorization: Bearer $PS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "Alice lives in Munich",
"policy": "default"
}'
{
"text": "PERSON_01 lives in LOCATION_01",
"entities": [
{ "type": "PERSON", "original": "Alice", "pseudonym": "PERSON_01" },
{ "type": "LOCATION", "original": "Munich", "pseudonym": "LOCATION_01" }
]
}
-H "Authorization: Bearer $PS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "Alice lives in Munich",
"policy": "default"
}'
{
"text": "PERSON_01 lives in LOCATION_01",
"entities": [
{ "type": "PERSON", "original": "Alice", "pseudonym": "PERSON_01" },
{ "type": "LOCATION", "original": "Munich", "pseudonym": "LOCATION_01" }
]
}
01
Autentificering
Bearer token-godkendelse via HTTP-headere.
02
Understøttede inputs
Rå tekststrenge, JSON-nyttelast og understøttede filbuffere.
03
Håndter behandlingstilstande eksplicit.
Standard HTTP 4xx/5xx-statuskoder med detaljerede JSON-fejlmeddelelser.
04
SDK'er
Native klienter tilgængelige for Node.js, Python og Go.
pip install pseudonymize