diff --git a/docs/polis/reference/api.json b/docs/polis/reference/api.json index e7b36b5123..c459752b9a 100644 --- a/docs/polis/reference/api.json +++ b/docs/polis/reference/api.json @@ -2,7 +2,7 @@ "openapi": "3.0.3", "info": { "title": "Enterprise SSO & Directory Sync", - "version": "1.47.0", + "version": "1.52.2", "description": "This is the API documentation for Polis.", "termsOfService": "/tos", "contact": { @@ -20,10 +20,6 @@ } ], "servers": [ - { - "url": "https://api.eu.boxyhq.com", - "description": "Cloud" - }, { "url": "http://localhost:5225", "description": "Local" @@ -2113,11 +2109,11 @@ "id": "038e767b-9bc6-4dbd-975e-fbc38a8e7d82", "first_name": "Deepak", "last_name": "Prabhakara", - "email": "deepak@boxyhq.com", + "email": "deepak@example.com", "active": true, "raw": { "schemas": ["urn:ietf:params:scim:schemas:core:2.0:User"], - "userName": "deepak@boxyhq.com", + "userName": "deepak@example.com", "name": { "givenName": "Deepak", "familyName": "Prabhakara" @@ -2125,7 +2121,7 @@ "emails": [ { "primary": true, - "value": "deepak@boxyhq.com", + "value": "deepak@example.com", "type": "work" } ], @@ -2185,7 +2181,7 @@ "mappings": { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/AttributeMapping" }, "description": "Mapping of attributes from the IdP to SP" }, @@ -2202,6 +2198,14 @@ "type": "string" }, "description": "If creating an OIDC app, provide the redirect URL" + }, + "samlAudienceOverride": { + "type": "string", + "description": "Override the SAML Audience on a per app basis" + }, + "ttlInMinutes": { + "type": "number", + "description": "Time-to-live in minutes for the SAML assertion, does not apply to OIDC flows" } } }, @@ -2222,6 +2226,19 @@ } ] }, + "AttributeMapping": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "SP attribute" + }, + "value": { + "type": "string", + "description": "IdP attribute" + } + } + }, "IdentityFederationResponse": { "type": "object", "properties": {