Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 26 additions & 9 deletions docs/polis/reference/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand All @@ -20,10 +20,6 @@
}
],
"servers": [
{
"url": "https://api.eu.boxyhq.com",
"description": "Cloud"
},
{
"url": "http://localhost:5225",
"description": "Local"
Expand Down Expand Up @@ -2113,19 +2109,19 @@
"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"
},
"emails": [
{
"primary": true,
"value": "deepak@boxyhq.com",
"value": "deepak@example.com",
"type": "work"
}
],
Expand Down Expand Up @@ -2185,7 +2181,7 @@
"mappings": {
"type": "array",
"items": {
"type": "string"
"$ref": "#/components/schemas/AttributeMapping"
},
"description": "Mapping of attributes from the IdP to SP"
},
Expand All @@ -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"
}
}
},
Expand All @@ -2222,6 +2226,19 @@
}
]
},
"AttributeMapping": {
"type": "object",
"properties": {
"key": {
"type": "string",
"description": "SP attribute"
},
"value": {
"type": "string",
"description": "IdP attribute"
}
}
},
"IdentityFederationResponse": {
"type": "object",
"properties": {
Expand Down
Loading