This documentation is currently under development. Certain sections are not yet complete and will be added shortly.

AparteAdmin

Get the Aparte configuration

get
/api/{tenantId}/admin/extensions/aparte

Returns the non-secret Aparte configuration for this tenant and whether an API key is currently stored. Returns 404 when Aparte is not configured. The API key itself is never returned.

Required scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired
Authorization URL:
Path parameters
tenantIdstringRequired
Responses
200

Configuration returned.

Response body for Aparte configuration.

baseUrlstring · uriRequired

Root URL of the Aparte WalletCrew API.

tenantstring · min: 1Required

Tenant identifier sent as the X-Tenant header.

defaultPassTypestring · min: 1Required

Default pass type assigned to passes created from Aparte tickets.

hasApiKeybooleanRequired

Whether an API key is currently stored in the secret repository.

get
/api/{tenantId}/admin/extensions/aparte

Set Aparte configuration

put
/api/{tenantId}/admin/extensions/aparte

Validates credentials against the Aparte WalletCrew API, then saves the configuration to server/aparte.yml. Omit apiKey to update settings without rotating the secret (the existing stored key is used for the credential check).

Required scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired
Authorization URL:
Path parameters
tenantIdstringRequired
Body

Request body for setting Aparte configuration.

baseUrlstring · uriRequired

Root URL of the Aparte WalletCrew API.

tenantstring · min: 1Required

Tenant identifier sent as the X-Tenant header.

defaultPassTypestring · min: 1Required

Default pass type assigned to passes created from Aparte tickets.

apiKeystring · nullableOptional

API key sent as the X-Api-Key header. Stored in the secret repository under APARTE-APIKEY. When omitted, the existing secret is preserved.

Responses
put
/api/{tenantId}/admin/extensions/aparte

No content

Delete Aparte configuration

delete
/api/{tenantId}/admin/extensions/aparte

Removes server/aparte.yml from tenant configuration and deletes the stored API key.

Required scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired
Authorization URL:
Path parameters
tenantIdstringRequired
Responses
delete
/api/{tenantId}/admin/extensions/aparte

No content

Last updated