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.

Scopes requis
Cet endpoint nécessite les scopes suivants :
Autorisations
OAuth2implicitRequis
Authorization URL:
Paramètres de chemin
tenantIdstringRequis
Réponses
200

Configuration returned.

Response body for Aparte configuration.

baseUrlstring · uriRequis

Root URL of the Aparte WalletCrew API.

tenantstring · min: 1Requis

Tenant identifier sent as the X-Tenant header.

defaultPassTypestring · min: 1Requis

Default pass type assigned to passes created from Aparte tickets.

hasApiKeybooleanRequis

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).

Scopes requis
Cet endpoint nécessite les scopes suivants :
Autorisations
OAuth2implicitRequis
Authorization URL:
Paramètres de chemin
tenantIdstringRequis
Corps

Request body for setting Aparte configuration.

baseUrlstring · uriRequis

Root URL of the Aparte WalletCrew API.

tenantstring · min: 1Requis

Tenant identifier sent as the X-Tenant header.

defaultPassTypestring · min: 1Requis

Default pass type assigned to passes created from Aparte tickets.

apiKeystring · nullableOptionnel

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

Réponses
put
/api/{tenantId}/admin/extensions/aparte

Aucun contenu

Delete Aparte configuration

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

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

Scopes requis
Cet endpoint nécessite les scopes suivants :
Autorisations
OAuth2implicitRequis
Authorization URL:
Paramètres de chemin
tenantIdstringRequis
Réponses
delete
/api/{tenantId}/admin/extensions/aparte

Aucun contenu

Mis à jour