Download OpenAPI specification:Download
Admin API of Daikoku
| id required | string The tenant ID to update |
the patch to update the tenant or a JSON object
| op required | string Enum: "add" "replace" "remove" "copy" "test" |
| path required | string |
| value | any |
[ ]{- "error": "string"
}| id required | string The ID of the tenant to update |
the ID of the tenant to update
| _id required | string |
| enabled required | boolean |
| name required | string |
| domain | string or null |
| contact required | string |
DaikokuStyle (object) or null | |
| defaultLanguage | string or null |
Array of objects or null (OtoroshiSettings) | |
MailerSettings.ConsoleMailerSettings (object) or MailerSettings.MailgunSettings (object) or MailerSettings.MailjetSettings (object) or MailerSettings.SimpleSMTPSettings (object) or MailerSettings.SendgridSettings (object) or null | |
S3Configuration (object) or null | |
| authProvider | string or null Enum: "local" "otoroshi" "ldap" "oauth2" null |
| authProviderSettings | object |
object (AuditTrailConfig) AuditTrailConfig | |
| isPrivate | boolean or null |
| adminApi required | string |
| adminSubscriptions | Array of strings |
| creationSecurity | boolean or null |
| subscriptionSecurity | boolean or null |
| apiReferenceHideForGuest | boolean or null |
| defaultMessage | string or null |
| tenantMode | string or null Enum: "default" "maintenance" "construction" "translation" null |
| aggregationApiKeysSecurity | boolean or null |
| robotTxt | string or null |
Array of ThirdPartyPaymentSettings.StripeSettings (object) or null | |
| display | string or null Enum: "default" "environment" null |
| environments | Array of strings or null |
{- "_id": "string",
- "enabled": true,
- "name": "string",
- "domain": "string",
- "contact": "string",
- "style": {
- "js": "string",
- "css": "string",
- "colorTheme": "string",
- "jsUrl": "string",
- "cssUrl": "string",
- "faviconUrl": "string",
- "fontFamilyUrl": "string",
- "title": "string",
- "description": "string",
- "unloggedHome": "string",
- "homePageVisible": true,
- "homeCmsPage": "string",
- "notFoundCmsPage": "string",
- "authenticatedCmsPage": "string",
- "logo": "string",
- "footer": "string"
}, - "defaultLanguage": "string",
- "otoroshiSettings": [
- {
- "id": "string",
- "url": "string",
- "host": "string",
- "clientId": "string",
- "clientSecret": "string"
}
], - "mailerSettings": {
- "type": "console",
- "template": "string"
}, - "bucketSettings": {
- "bucket": "string",
- "endpoint": "string",
- "region": "string",
- "access": "string",
- "secret": "string",
- "chunkSize": 0,
- "v4auth": true
}, - "authProvider": "local",
- "authProviderSettings": { },
- "auditTrailConfig": {
- "elasticConfigs": {
- "clusterUri": "string",
- "index": "string",
- "type": "string",
- "user": "string",
- "password": "string",
- "headers": { }
}, - "auditWebhooks": [
- {
- "url": "string",
- "headers": { }
}
], - "alertsEmails": [
- "string"
], - "kafkaConfig": {
- "servers": [
- "string"
], - "keyPass": "string",
- "keystore": "string",
- "truststore": "string",
- "auditTopic": "string",
- "hostValidation": true
}
}, - "isPrivate": true,
- "adminApi": "string",
- "adminSubscriptions": [
- "string"
], - "creationSecurity": true,
- "subscriptionSecurity": true,
- "apiReferenceHideForGuest": true,
- "defaultMessage": "string",
- "tenantMode": "default",
- "aggregationApiKeysSecurity": true,
- "robotTxt": "string",
- "thirdPartyPaymentSettings": [
- {
- "_id": "string",
- "name": "string",
- "publicKey": "string",
- "secretKey": "string"
}
], - "display": "default",
- "environments": [
- "string"
]
}{- "error": "string"
}{- "_id": "string",
- "enabled": true,
- "name": "string",
- "domain": "string",
- "contact": "string",
- "style": {
- "js": "string",
- "css": "string",
- "colorTheme": "string",
- "jsUrl": "string",
- "cssUrl": "string",
- "faviconUrl": "string",
- "fontFamilyUrl": "string",
- "title": "string",
- "description": "string",
- "unloggedHome": "string",
- "homePageVisible": true,
- "homeCmsPage": "string",
- "notFoundCmsPage": "string",
- "authenticatedCmsPage": "string",
- "logo": "string",
- "footer": "string"
}, - "defaultLanguage": "string",
- "otoroshiSettings": [
- {
- "id": "string",
- "url": "string",
- "host": "string",
- "clientId": "string",
- "clientSecret": "string"
}
], - "mailerSettings": {
- "type": "console",
- "template": "string"
}, - "bucketSettings": {
- "bucket": "string",
- "endpoint": "string",
- "region": "string",
- "access": "string",
- "secret": "string",
- "chunkSize": 0,
- "v4auth": true
}, - "authProvider": "local",
- "authProviderSettings": { },
- "auditTrailConfig": {
- "elasticConfigs": {
- "clusterUri": "string",
- "index": "string",
- "type": "string",
- "user": "string",
- "password": "string",
- "headers": { }
}, - "auditWebhooks": [
- {
- "url": "string",
- "headers": { }
}
], - "alertsEmails": [
- "string"
], - "kafkaConfig": {
- "servers": [
- "string"
], - "keyPass": "string",
- "keystore": "string",
- "truststore": "string",
- "auditTopic": "string",
- "hostValidation": true
}
}, - "isPrivate": true,
- "adminApi": "string",
- "adminSubscriptions": [
- "string"
], - "creationSecurity": true,
- "subscriptionSecurity": true,
- "apiReferenceHideForGuest": true,
- "defaultMessage": "string",
- "tenantMode": "default",
- "aggregationApiKeysSecurity": true,
- "robotTxt": "string",
- "thirdPartyPaymentSettings": [
- {
- "_id": "string",
- "name": "string",
- "publicKey": "string",
- "secretKey": "string"
}
], - "display": "default",
- "environments": [
- "string"
]
}[- {
- "_id": "string",
- "enabled": true,
- "name": "string",
- "domain": "string",
- "contact": "string",
- "style": {
- "js": "string",
- "css": "string",
- "colorTheme": "string",
- "jsUrl": "string",
- "cssUrl": "string",
- "faviconUrl": "string",
- "fontFamilyUrl": "string",
- "title": "string",
- "description": "string",
- "unloggedHome": "string",
- "homePageVisible": true,
- "homeCmsPage": "string",
- "notFoundCmsPage": "string",
- "authenticatedCmsPage": "string",
- "logo": "string",
- "footer": "string"
}, - "defaultLanguage": "string",
- "otoroshiSettings": [
- {
- "id": "string",
- "url": "string",
- "host": "string",
- "clientId": "string",
- "clientSecret": "string"
}
], - "mailerSettings": {
- "type": "console",
- "template": "string"
}, - "bucketSettings": {
- "bucket": "string",
- "endpoint": "string",
- "region": "string",
- "access": "string",
- "secret": "string",
- "chunkSize": 0,
- "v4auth": true
}, - "authProvider": "local",
- "authProviderSettings": { },
- "auditTrailConfig": {
- "elasticConfigs": {
- "clusterUri": "string",
- "index": "string",
- "type": "string",
- "user": "string",
- "password": "string",
- "headers": { }
}, - "auditWebhooks": [
- {
- "url": "string",
- "headers": { }
}
], - "alertsEmails": [
- "string"
], - "kafkaConfig": {
- "servers": [
- "string"
], - "keyPass": "string",
- "keystore": "string",
- "truststore": "string",
- "auditTopic": "string",
- "hostValidation": true
}
}, - "isPrivate": true,
- "adminApi": "string",
- "adminSubscriptions": [
- "string"
], - "creationSecurity": true,
- "subscriptionSecurity": true,
- "apiReferenceHideForGuest": true,
- "defaultMessage": "string",
- "tenantMode": "default",
- "aggregationApiKeysSecurity": true,
- "robotTxt": "string",
- "thirdPartyPaymentSettings": [
- {
- "_id": "string",
- "name": "string",
- "publicKey": "string",
- "secretKey": "string"
}
], - "display": "default",
- "environments": [
- "string"
]
}
]the tenant to create
| _id required | string |
| enabled required | boolean |
| name required | string |
| domain | string or null |
| contact required | string |
DaikokuStyle (object) or null | |
| defaultLanguage | string or null |
Array of objects or null (OtoroshiSettings) | |
MailerSettings.ConsoleMailerSettings (object) or MailerSettings.MailgunSettings (object) or MailerSettings.MailjetSettings (object) or MailerSettings.SimpleSMTPSettings (object) or MailerSettings.SendgridSettings (object) or null | |
S3Configuration (object) or null | |
| authProvider | string or null Enum: "local" "otoroshi" "ldap" "oauth2" null |
| authProviderSettings | object |
object (AuditTrailConfig) AuditTrailConfig | |
| isPrivate | boolean or null |
| adminApi required | string |
| adminSubscriptions | Array of strings |
| creationSecurity | boolean or null |
| subscriptionSecurity | boolean or null |
| apiReferenceHideForGuest | boolean or null |
| defaultMessage | string or null |
| tenantMode | string or null Enum: "default" "maintenance" "construction" "translation" null |
| aggregationApiKeysSecurity | boolean or null |
| robotTxt | string or null |
Array of ThirdPartyPaymentSettings.StripeSettings (object) or null | |
| display | string or null Enum: "default" "environment" null |
| environments | Array of strings or null |
{- "_id": "string",
- "enabled": true,
- "name": "string",
- "domain": "string",
- "contact": "string",
- "style": {
- "js": "string",
- "css": "string",
- "colorTheme": "string",
- "jsUrl": "string",
- "cssUrl": "string",
- "faviconUrl": "string",
- "fontFamilyUrl": "string",
- "title": "string",
- "description": "string",
- "unloggedHome": "string",
- "homePageVisible": true,
- "homeCmsPage": "string",
- "notFoundCmsPage": "string",
- "authenticatedCmsPage": "string",
- "logo": "string",
- "footer": "string"
}, - "defaultLanguage": "string",
- "otoroshiSettings": [
- {
- "id": "string",
- "url": "string",
- "host": "string",
- "clientId": "string",
- "clientSecret": "string"
}
], - "mailerSettings": {
- "type": "console",
- "template": "string"
}, - "bucketSettings": {
- "bucket": "string",
- "endpoint": "string",
- "region": "string",
- "access": "string",
- "secret": "string",
- "chunkSize": 0,
- "v4auth": true
}, - "authProvider": "local",
- "authProviderSettings": { },
- "auditTrailConfig": {
- "elasticConfigs": {
- "clusterUri": "string",
- "index": "string",
- "type": "string",
- "user": "string",
- "password": "string",
- "headers": { }
}, - "auditWebhooks": [
- {
- "url": "string",
- "headers": { }
}
], - "alertsEmails": [
- "string"
], - "kafkaConfig": {
- "servers": [
- "string"
], - "keyPass": "string",
- "keystore": "string",
- "truststore": "string",
- "auditTopic": "string",
- "hostValidation": true
}
}, - "isPrivate": true,
- "adminApi": "string",
- "adminSubscriptions": [
- "string"
], - "creationSecurity": true,
- "subscriptionSecurity": true,
- "apiReferenceHideForGuest": true,
- "defaultMessage": "string",
- "tenantMode": "default",
- "aggregationApiKeysSecurity": true,
- "robotTxt": "string",
- "thirdPartyPaymentSettings": [
- {
- "_id": "string",
- "name": "string",
- "publicKey": "string",
- "secretKey": "string"
}
], - "display": "default",
- "environments": [
- "string"
]
}{- "_id": "string",
- "enabled": true,
- "name": "string",
- "domain": "string",
- "contact": "string",
- "style": {
- "js": "string",
- "css": "string",
- "colorTheme": "string",
- "jsUrl": "string",
- "cssUrl": "string",
- "faviconUrl": "string",
- "fontFamilyUrl": "string",
- "title": "string",
- "description": "string",
- "unloggedHome": "string",
- "homePageVisible": true,
- "homeCmsPage": "string",
- "notFoundCmsPage": "string",
- "authenticatedCmsPage": "string",
- "logo": "string",
- "footer": "string"
}, - "defaultLanguage": "string",
- "otoroshiSettings": [
- {
- "id": "string",
- "url": "string",
- "host": "string",
- "clientId": "string",
- "clientSecret": "string"
}
], - "mailerSettings": {
- "type": "console",
- "template": "string"
}, - "bucketSettings": {
- "bucket": "string",
- "endpoint": "string",
- "region": "string",
- "access": "string",
- "secret": "string",
- "chunkSize": 0,
- "v4auth": true
}, - "authProvider": "local",
- "authProviderSettings": { },
- "auditTrailConfig": {
- "elasticConfigs": {
- "clusterUri": "string",
- "index": "string",
- "type": "string",
- "user": "string",
- "password": "string",
- "headers": { }
}, - "auditWebhooks": [
- {
- "url": "string",
- "headers": { }
}
], - "alertsEmails": [
- "string"
], - "kafkaConfig": {
- "servers": [
- "string"
], - "keyPass": "string",
- "keystore": "string",
- "truststore": "string",
- "auditTopic": "string",
- "hostValidation": true
}
}, - "isPrivate": true,
- "adminApi": "string",
- "adminSubscriptions": [
- "string"
], - "creationSecurity": true,
- "subscriptionSecurity": true,
- "apiReferenceHideForGuest": true,
- "defaultMessage": "string",
- "tenantMode": "default",
- "aggregationApiKeysSecurity": true,
- "robotTxt": "string",
- "thirdPartyPaymentSettings": [
- {
- "_id": "string",
- "name": "string",
- "publicKey": "string",
- "secretKey": "string"
}
], - "display": "default",
- "environments": [
- "string"
]
}| id required | string |
the patch to update the user or a JSON object
| op required | string Enum: "add" "replace" "remove" "copy" "test" |
| path required | string |
| value | any |
[ ]{- "error": "string"
}| id required | string |
the user to update
| _id required | string |
| tenants | Array of strings or null |
| origins | Array of strings or null Enum: "local" "otoroshi" "ldap" "oauth2" |
| name required | string |
| email required | string |
| picture | string or null |
| pictureFromProvider | boolean or null |
| isDaikokuAdmin | boolean or null |
| password | string or null optionnal value but required in case of tenant has a Local AuthProvider |
| hardwareKeyRegistrations | Array of objects or null |
| lastTenant | string or null |
| metadata | object or null |
| defaultLanguage | string or null |
| starredApis | Array of strings or null |
TwoFactorAuthentication (object) or null | |
UserInvitation (object) or null |
{- "_id": "string",
- "tenants": [
- "string"
], - "origins": [
- "local"
], - "name": "string",
- "email": "string",
- "picture": "string",
- "pictureFromProvider": true,
- "isDaikokuAdmin": true,
- "password": "string",
- "hardwareKeyRegistrations": [
- { }
], - "lastTenant": "string",
- "metadata": { },
- "defaultLanguage": "string",
- "starredApis": [
- "string"
], - "twoFactorAuthentication": {
- "enabled": true,
- "secret": "string",
- "token": "string",
- "backupCodes": "string"
}, - "invitation": {
- "token": "string",
- "createdAt": 0,
- "team": "string",
- "notificationId": "string",
- "registered": true
}
}{- "error": "string"
}{- "_id": "string",
- "tenants": [
- "string"
], - "origins": [
- "local"
], - "name": "string",
- "email": "string",
- "picture": "string",
- "pictureFromProvider": true,
- "isDaikokuAdmin": true,
- "password": "string",
- "hardwareKeyRegistrations": [
- { }
], - "lastTenant": "string",
- "metadata": { },
- "defaultLanguage": "string",
- "starredApis": [
- "string"
], - "twoFactorAuthentication": {
- "enabled": true,
- "secret": "string",
- "token": "string",
- "backupCodes": "string"
}, - "invitation": {
- "token": "string",
- "createdAt": 0,
- "team": "string",
- "notificationId": "string",
- "registered": true
}
}[- {
- "_id": "string",
- "tenants": [
- "string"
], - "origins": [
- "local"
], - "name": "string",
- "email": "string",
- "picture": "string",
- "pictureFromProvider": true,
- "isDaikokuAdmin": true,
- "password": "string",
- "hardwareKeyRegistrations": [
- { }
], - "lastTenant": "string",
- "metadata": { },
- "defaultLanguage": "string",
- "starredApis": [
- "string"
], - "twoFactorAuthentication": {
- "enabled": true,
- "secret": "string",
- "token": "string",
- "backupCodes": "string"
}, - "invitation": {
- "token": "string",
- "createdAt": 0,
- "team": "string",
- "notificationId": "string",
- "registered": true
}
}
]the user to create
| _id required | string |
| tenants | Array of strings or null |
| origins | Array of strings or null Enum: "local" "otoroshi" "ldap" "oauth2" |
| name required | string |
| email required | string |
| picture | string or null |
| pictureFromProvider | boolean or null |
| isDaikokuAdmin | boolean or null |
| password | string or null optionnal value but required in case of tenant has a Local AuthProvider |
| hardwareKeyRegistrations | Array of objects or null |
| lastTenant | string or null |
| metadata | object or null |
| defaultLanguage | string or null |
| starredApis | Array of strings or null |
TwoFactorAuthentication (object) or null | |
UserInvitation (object) or null |
{- "_id": "string",
- "tenants": [
- "string"
], - "origins": [
- "local"
], - "name": "string",
- "email": "string",
- "picture": "string",
- "pictureFromProvider": true,
- "isDaikokuAdmin": true,
- "password": "string",
- "hardwareKeyRegistrations": [
- { }
], - "lastTenant": "string",
- "metadata": { },
- "defaultLanguage": "string",
- "starredApis": [
- "string"
], - "twoFactorAuthentication": {
- "enabled": true,
- "secret": "string",
- "token": "string",
- "backupCodes": "string"
}, - "invitation": {
- "token": "string",
- "createdAt": 0,
- "team": "string",
- "notificationId": "string",
- "registered": true
}
}{- "_id": "string",
- "tenants": [
- "string"
], - "origins": [
- "local"
], - "name": "string",
- "email": "string",
- "picture": "string",
- "pictureFromProvider": true,
- "isDaikokuAdmin": true,
- "password": "string",
- "hardwareKeyRegistrations": [
- { }
], - "lastTenant": "string",
- "metadata": { },
- "defaultLanguage": "string",
- "starredApis": [
- "string"
], - "twoFactorAuthentication": {
- "enabled": true,
- "secret": "string",
- "token": "string",
- "backupCodes": "string"
}, - "invitation": {
- "token": "string",
- "createdAt": 0,
- "team": "string",
- "notificationId": "string",
- "registered": true
}
}| id required | string |
the patch to update the team or a JSON object
| op required | string Enum: "add" "replace" "remove" "copy" "test" |
| path required | string |
| value | any |
[ ]{- "error": "string"
}| id required | string |
the team to update
| _id required | string |
| _humanReadableId | string |
| _tenant required | string |
| type required | string Enum: "Personal" "Organization" "Admin" |
| name required | string |
| description | string or null |
| contact required | string |
| avatar | string or null |
Array of objects (UserWithPermission) | |
Array of objects or null | |
| apiKeyVisibility | string Enum: "Administrator" "ApiEditor" "User" |
| metadata | object or null |
| apisCreationPermission | boolean or null |
| verified required | boolean |
{- "_id": "team-weather",
- "_tenant": "default",
- "type": "Organization",
- "name": "Weather",
- "contact": "weather@acme.io",
- "verified": true
}{- "error": "string"
}the team to create
| _id required | string |
| _humanReadableId | string |
| _tenant required | string |
| type required | string Enum: "Personal" "Organization" "Admin" |
| name required | string |
| description | string or null |
| contact required | string |
| avatar | string or null |
Array of objects (UserWithPermission) | |
Array of objects or null | |
| apiKeyVisibility | string Enum: "Administrator" "ApiEditor" "User" |
| metadata | object or null |
| apisCreationPermission | boolean or null |
| verified required | boolean |
{- "_id": "team-weather",
- "_tenant": "default",
- "type": "Organization",
- "name": "Weather",
- "contact": "weather@acme.io",
- "verified": true
}{- "_id": "team-weather",
- "_tenant": "default",
- "type": "Organization",
- "name": "Weather",
- "contact": "weather@acme.io",
- "verified": true
}| id required | string |
the patch to update the api or a JSON object
| op required | string Enum: "add" "replace" "remove" "copy" "test" |
| path required | string |
| value | any |
[ ]{- "error": "string"
}| id required | string |
the api to update
| _id required | string |
| _humanReadableId | string |
| _tenant required | string |
| team required | string |
| name required | string |
| lastUpdate | integer <timestamp> |
| createdAt | integer <timestamp> |
| description | string or null |
| smallDescription | string or null |
| customHeaderCmsPage | string or null |
| descriptionCmsPage | string or null |
| header | string or null |
| image | string or null |
| currentVersion | string |
| supportedVersions | Array of strings |
| isDefault | boolean or null |
Testing (object) or null | |
object (ApiDocumentation) ApiDocumentation | |
SwaggerAccess (object) or null | |
| tags | Array of strings or null |
| categories | Array of strings or null |
| visibility | string Enum: "Public" "Private" "PublicWithAuthorizations" "AdminOnly" |
| possibleUsagePlans | Array of strings |
| defaultUsagePlan | string or null |
| authorizedTeams | Array of strings or null |
| posts | Array of strings or null |
| issues | Array of strings or null |
Array of objects or null (ApiIssueTag) | |
| stars | integer <int32> |
| parent | string or null |
| apis | Array of strings or null |
| state | string Enum: "created" "published" "blocked" "deprecated" |
object |
{- "_id": "api-weather",
- "_tenant": "default",
- "team": "team-weather",
- "name": "Weather API"
}{- "error": "string"
}the api to create
| _id required | string |
| _humanReadableId | string |
| _tenant required | string |
| team required | string |
| name required | string |
| lastUpdate | integer <timestamp> |
| createdAt | integer <timestamp> |
| description | string or null |
| smallDescription | string or null |
| customHeaderCmsPage | string or null |
| descriptionCmsPage | string or null |
| header | string or null |
| image | string or null |
| currentVersion | string |
| supportedVersions | Array of strings |
| isDefault | boolean or null |
Testing (object) or null | |
object (ApiDocumentation) ApiDocumentation | |
SwaggerAccess (object) or null | |
| tags | Array of strings or null |
| categories | Array of strings or null |
| visibility | string Enum: "Public" "Private" "PublicWithAuthorizations" "AdminOnly" |
| possibleUsagePlans | Array of strings |
| defaultUsagePlan | string or null |
| authorizedTeams | Array of strings or null |
| posts | Array of strings or null |
| issues | Array of strings or null |
Array of objects or null (ApiIssueTag) | |
| stars | integer <int32> |
| parent | string or null |
| apis | Array of strings or null |
| state | string Enum: "created" "published" "blocked" "deprecated" |
object |
{- "_id": "api-weather",
- "_tenant": "default",
- "team": "team-weather",
- "name": "Weather API"
}{- "_id": "api-weather",
- "_tenant": "default",
- "team": "team-weather",
- "name": "Weather API"
}| id required | string |
the patch to update the api-subscription or a JSON object
| op required | string Enum: "add" "replace" "remove" "copy" "test" |
| path required | string |
| value | any |
[ ]{- "error": "string"
}| id required | string |
the api-subscription to update
| _id required | string |
| _tenant required | string |
| keyring required | string |
| plan required | string |
| team required | string |
| api required | string |
| createdAt required | integer <timestamp> |
| validUntil | integer or null <timestamp> |
| by required | string |
| customName | string or null |
| adminCustomName | string or null |
| enabled | boolean or null |
| customMetadata | object or null |
| metadata | object or null |
| tags | Array of strings |
| customMaxPerSecond | integer or null <int64> |
| customMaxPerDay | integer or null <int64> |
| customMaxPerMonth | integer or null <int64> |
| customReadOnly | boolean or null |
| state | string Enum: "active" "blocked" |
| blockedBy | Array of strings Items Enum: "owner" "lifecycle" |
ThirdPartySubscriptionInformations.Stripe (object) |
{- "_id": "subscription-weather",
- "_tenant": "default",
- "keyring": "keyring-weather",
- "plan": "plan-weather-free",
- "team": "team-weather",
- "api": "api-weather",
- "createdAt": 1759190400000,
- "by": "user-admin"
}{- "error": "string"
}{- "_id": "subscription-weather",
- "_tenant": "default",
- "keyring": "keyring-weather",
- "plan": "plan-weather-free",
- "team": "team-weather",
- "api": "api-weather",
- "createdAt": 1759190400000,
- "by": "user-admin"
}the api-subscription to create
| _id required | string |
| _tenant required | string |
| keyring required | string |
| plan required | string |
| team required | string |
| api required | string |
| createdAt required | integer <timestamp> |
| validUntil | integer or null <timestamp> |
| by required | string |
| customName | string or null |
| adminCustomName | string or null |
| enabled | boolean or null |
| customMetadata | object or null |
| metadata | object or null |
| tags | Array of strings |
| customMaxPerSecond | integer or null <int64> |
| customMaxPerDay | integer or null <int64> |
| customMaxPerMonth | integer or null <int64> |
| customReadOnly | boolean or null |
| state | string Enum: "active" "blocked" |
| blockedBy | Array of strings Items Enum: "owner" "lifecycle" |
ThirdPartySubscriptionInformations.Stripe (object) |
{- "_id": "subscription-weather",
- "_tenant": "default",
- "keyring": "keyring-weather",
- "plan": "plan-weather-free",
- "team": "team-weather",
- "api": "api-weather",
- "createdAt": 1759190400000,
- "by": "user-admin"
}{- "_id": "subscription-weather",
- "_tenant": "default",
- "keyring": "keyring-weather",
- "plan": "plan-weather-free",
- "team": "team-weather",
- "api": "api-weather",
- "createdAt": 1759190400000,
- "by": "user-admin"
}| id required | string |
the patch to update the api-documentation-page or a JSON object
| op required | string Enum: "add" "replace" "remove" "copy" "test" |
| path required | string |
| value | any |
[ ]{- "error": "string"
}| id required | string |
the api-documentation-page to update
| _id required | string |
| _tenant required | string |
| title required | string |
| lastModificationAt | integer <timestamp> |
| content | string or null |
| contentType | string or null |
| remoteContentEnabled | boolean or null |
| remoteContentUrl | string or null |
| remoteContentHeaders | object or null |
| cmsPage | string or null |
object |
{- "_id": "string",
- "_tenant": "string",
- "title": "string",
- "lastModificationAt": 0,
- "content": "string",
- "contentType": "string",
- "remoteContentEnabled": true,
- "remoteContentUrl": "string",
- "remoteContentHeaders": { },
- "cmsPage": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}{- "error": "string"
}{- "_id": "string",
- "_tenant": "string",
- "title": "string",
- "lastModificationAt": 0,
- "content": "string",
- "contentType": "string",
- "remoteContentEnabled": true,
- "remoteContentUrl": "string",
- "remoteContentHeaders": { },
- "cmsPage": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}[- {
- "_id": "string",
- "_tenant": "string",
- "title": "string",
- "lastModificationAt": 0,
- "content": "string",
- "contentType": "string",
- "remoteContentEnabled": true,
- "remoteContentUrl": "string",
- "remoteContentHeaders": { },
- "cmsPage": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
]the api-documentation-page to create
| _id required | string |
| _tenant required | string |
| title required | string |
| lastModificationAt | integer <timestamp> |
| content | string or null |
| contentType | string or null |
| remoteContentEnabled | boolean or null |
| remoteContentUrl | string or null |
| remoteContentHeaders | object or null |
| cmsPage | string or null |
object |
{- "_id": "string",
- "_tenant": "string",
- "title": "string",
- "lastModificationAt": 0,
- "content": "string",
- "contentType": "string",
- "remoteContentEnabled": true,
- "remoteContentUrl": "string",
- "remoteContentHeaders": { },
- "cmsPage": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}{- "_id": "string",
- "_tenant": "string",
- "title": "string",
- "lastModificationAt": 0,
- "content": "string",
- "contentType": "string",
- "remoteContentEnabled": true,
- "remoteContentUrl": "string",
- "remoteContentHeaders": { },
- "cmsPage": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}{- "_id": "string",
- "_tenant": "string",
- "team": "string",
- "sender": {
- "name": "string",
- "email": "string",
- "id": "string"
}, - "date": 0,
- "notificationType": "AcceptOrReject",
- "status": {
- "status": "Accepted",
- "date": 0
}, - "action": {
- "api": "string",
- "team": "string"
}
}[- {
- "_id": "string",
- "_tenant": "string",
- "team": "string",
- "sender": {
- "name": "string",
- "email": "string",
- "id": "string"
}, - "date": 0,
- "notificationType": "AcceptOrReject",
- "status": {
- "status": "Accepted",
- "date": 0
}, - "action": {
- "api": "string",
- "team": "string"
}
}
]{- "_id": "string",
- "sessionId": "string",
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "impersonatorId": "string",
- "impersonatorName": "string",
- "impersonatorEmail": "string",
- "impersonatorSessionId": "string",
- "created": 0,
- "ttl": 0,
- "expires": 0
}[- {
- "_id": "string",
- "sessionId": "string",
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "impersonatorId": "string",
- "impersonatorName": "string",
- "impersonatorEmail": "string",
- "impersonatorSessionId": "string",
- "created": 0,
- "ttl": 0,
- "expires": 0
}
]{- "_id": "string",
- "_tenant": "string",
- "team": "string",
- "api": "string",
- "plan": "string",
- "clientId": "string",
- "hits": 0,
- "globalInformations": {
- "hits": 0,
- "dataIn": 0,
- "dataOut": 0,
- "avgDuration": 0,
- "avgOverhead": 0
}, - "quotas": {
- "authorizedCallsPerSec": 0,
- "currentCallsPerSec": 0,
- "remainingCallsPerSec": 0,
- "authorizedCallsPerDay": 0,
- "currentCallsPerDay": 0,
- "remainingCallsPerDay": 0,
- "authorizedCallsPerMonth": 0,
- "currentCallsPerMonth": 0,
- "remainingCallsPerMonth": 0
}, - "billing": {
- "hits": 0,
- "total": 0
}, - "from": 0,
- "to": 0,
- "state": "completed"
}[- {
- "_id": "string",
- "_tenant": "string",
- "team": "string",
- "api": "string",
- "plan": "string",
- "clientId": "string",
- "hits": 0,
- "globalInformations": {
- "hits": 0,
- "dataIn": 0,
- "dataOut": 0,
- "avgDuration": 0,
- "avgOverhead": 0
}, - "quotas": {
- "authorizedCallsPerSec": 0,
- "currentCallsPerSec": 0,
- "remainingCallsPerSec": 0,
- "authorizedCallsPerDay": 0,
- "currentCallsPerDay": 0,
- "remainingCallsPerDay": 0,
- "authorizedCallsPerMonth": 0,
- "currentCallsPerMonth": 0,
- "remainingCallsPerMonth": 0
}, - "billing": {
- "hits": 0,
- "total": 0
}, - "from": 0,
- "to": 0,
- "state": "completed"
}
]{- "_id": "string",
- "_tenant": "string",
- "messageType": {
- "type": "tenant",
- "value": "string"
}, - "chat": "string",
- "participants": [
- "string"
], - "readBy": [
- "string"
], - "date": 0,
- "sender": "string",
- "message": "string",
- "closed": 0,
- "send": true
}[- {
- "_id": "string",
- "_tenant": "string",
- "messageType": {
- "type": "tenant",
- "value": "string"
}, - "chat": "string",
- "participants": [
- "string"
], - "readBy": [
- "string"
], - "date": 0,
- "sender": "string",
- "message": "string",
- "closed": 0,
- "send": true
}
]| id required | string |
the patch to update the issue or a JSON object
| op required | string Enum: "add" "replace" "remove" "copy" "test" |
| path required | string |
| value | any |
[ ]{- "error": "string"
}| id required | string |
the issue to update
| _id required | string |
| seqId | integer or null <int32> |
| _tenant required | string |
| title required | string |
| tags | Array of strings or null |
| open | boolean or null |
| createdAt | integer or null <timestamp> |
| closedAt | integer or null <timestamp> |
| by required | string |
Array of objects (ApiIssueComment) | |
| lastModificationAt | integer or null <timestamp> |
| apiVersion | string or null |
{- "_id": "string",
- "seqId": 0,
- "_tenant": "string",
- "title": "string",
- "tags": [
- "string"
], - "open": true,
- "createdAt": 0,
- "closedAt": 0,
- "by": "string",
- "comments": [
- {
- "by": "string",
- "createdAt": 0,
- "lastModificationAt": 0,
- "content": "string"
}
], - "lastModificationAt": 0,
- "apiVersion": "string"
}{- "error": "string"
}{- "_id": "string",
- "seqId": 0,
- "_tenant": "string",
- "title": "string",
- "tags": [
- "string"
], - "open": true,
- "createdAt": 0,
- "closedAt": 0,
- "by": "string",
- "comments": [
- {
- "by": "string",
- "createdAt": 0,
- "lastModificationAt": 0,
- "content": "string"
}
], - "lastModificationAt": 0,
- "apiVersion": "string"
}[- {
- "_id": "string",
- "seqId": 0,
- "_tenant": "string",
- "title": "string",
- "tags": [
- "string"
], - "open": true,
- "createdAt": 0,
- "closedAt": 0,
- "by": "string",
- "comments": [
- {
- "by": "string",
- "createdAt": 0,
- "lastModificationAt": 0,
- "content": "string"
}
], - "lastModificationAt": 0,
- "apiVersion": "string"
}
]the issue to create
| _id required | string |
| seqId | integer or null <int32> |
| _tenant required | string |
| title required | string |
| tags | Array of strings or null |
| open | boolean or null |
| createdAt | integer or null <timestamp> |
| closedAt | integer or null <timestamp> |
| by required | string |
Array of objects (ApiIssueComment) | |
| lastModificationAt | integer or null <timestamp> |
| apiVersion | string or null |
{- "_id": "string",
- "seqId": 0,
- "_tenant": "string",
- "title": "string",
- "tags": [
- "string"
], - "open": true,
- "createdAt": 0,
- "closedAt": 0,
- "by": "string",
- "comments": [
- {
- "by": "string",
- "createdAt": 0,
- "lastModificationAt": 0,
- "content": "string"
}
], - "lastModificationAt": 0,
- "apiVersion": "string"
}{- "_id": "string",
- "seqId": 0,
- "_tenant": "string",
- "title": "string",
- "tags": [
- "string"
], - "open": true,
- "createdAt": 0,
- "closedAt": 0,
- "by": "string",
- "comments": [
- {
- "by": "string",
- "createdAt": 0,
- "lastModificationAt": 0,
- "content": "string"
}
], - "lastModificationAt": 0,
- "apiVersion": "string"
}| id required | string |
the patch to update the post or a JSON object
| op required | string Enum: "add" "replace" "remove" "copy" "test" |
| path required | string |
| value | any |
[ ]{- "error": "string"
}| id required | string |
the post to update
| _id required | string |
| _tenant required | string |
| title required | string |
| lastModificationAt required | integer <timestamp> |
| content | string or null |
{- "_id": "string",
- "_tenant": "string",
- "title": "string",
- "lastModificationAt": 0,
- "content": "string"
}{- "error": "string"
}the post to create
| _id required | string |
| _tenant required | string |
| title required | string |
| lastModificationAt required | integer <timestamp> |
| content | string or null |
{- "_id": "string",
- "_tenant": "string",
- "title": "string",
- "lastModificationAt": 0,
- "content": "string"
}{- "_id": "string",
- "_tenant": "string",
- "title": "string",
- "lastModificationAt": 0,
- "content": "string"
}| id required | string |
the patch to update the translation or a JSON object
| op required | string Enum: "add" "replace" "remove" "copy" "test" |
| path required | string |
| value | any |
[ ]{- "error": "string"
}| id required | string |
the translation to update
| _id required | string |
| _tenant required | string |
| language required | string |
| key required | string |
| value required | string |
| lastModificationAt | integer or null <timestamp> |
{- "_id": "string",
- "_tenant": "string",
- "language": "string",
- "key": "string",
- "value": "string",
- "lastModificationAt": 0
}{- "error": "string"
}the translation to create
| _id required | string |
| _tenant required | string |
| language required | string |
| key required | string |
| value required | string |
| lastModificationAt | integer or null <timestamp> |
{- "_id": "string",
- "_tenant": "string",
- "language": "string",
- "key": "string",
- "value": "string",
- "lastModificationAt": 0
}{- "_id": "string",
- "_tenant": "string",
- "language": "string",
- "key": "string",
- "value": "string",
- "lastModificationAt": 0
}| id required | string |
the patch to update the usage-plan or a JSON object
| op required | string Enum: "add" "replace" "remove" "copy" "test" |
| path required | string |
| value | any |
[ ]{- "error": "string"
}| id required | string |
the usage-plan to update
| _id required | string |
| _tenant required | string |
Currency (object) or null | |
| customName required | string |
| customDescription | string or null |
OtoroshiTarget (object) or null | |
BillingDuration (object) or null | |
| allowMultipleKeys | boolean or null |
| visibility | string Enum: "Public" "Private" "Admin" |
| authorizedTeams | Array of strings |
| autoRotation | boolean or null |
required | object |
| integrationProcess | string Enum: "Automatic" "ApiKey" |
| aggregationApiKeysSecurity | boolean or null |
SwaggerAccess (object) or null | |
Testing (object) or null | |
ApiDocumentation (object) or null | |
| maxPerSecond | integer or null <int64> |
| maxPerDay | integer or null <int64> |
| maxPerMonth | integer or null <int64> |
| costPerMonth | number or null <float64> |
| costPerRequest | number or null <float64> |
BillingDuration (object) or null | |
object | |
PaymentSettings.Stripe (object) or null |
{- "_id": "plan-weather-free",
- "_tenant": "default",
- "customName": "Free",
- "subscriptionProcess": {
- "steps": [ ]
}
}{- "error": "string"
}the usage-plan to create
| _id required | string |
| _tenant required | string |
Currency (object) or null | |
| customName required | string |
| customDescription | string or null |
OtoroshiTarget (object) or null | |
BillingDuration (object) or null | |
| allowMultipleKeys | boolean or null |
| visibility | string Enum: "Public" "Private" "Admin" |
| authorizedTeams | Array of strings |
| autoRotation | boolean or null |
required | object |
| integrationProcess | string Enum: "Automatic" "ApiKey" |
| aggregationApiKeysSecurity | boolean or null |
SwaggerAccess (object) or null | |
Testing (object) or null | |
ApiDocumentation (object) or null | |
| maxPerSecond | integer or null <int64> |
| maxPerDay | integer or null <int64> |
| maxPerMonth | integer or null <int64> |
| costPerMonth | number or null <float64> |
| costPerRequest | number or null <float64> |
BillingDuration (object) or null | |
object | |
PaymentSettings.Stripe (object) or null |
{- "_id": "plan-weather-free",
- "_tenant": "default",
- "customName": "Free",
- "subscriptionProcess": {
- "steps": [ ]
}
}{- "_id": "plan-weather-free",
- "_tenant": "default",
- "customName": "Free",
- "subscriptionProcess": {
- "steps": [ ]
}
}| id required | string |
the patch to update the subscription-demand or a JSON object
| op required | string Enum: "add" "replace" "remove" "copy" "test" |
| path required | string |
| value | any |
[ ]{- "error": "string"
}| id required | string |
the subscription-demand to update
| _id required | string |
| _tenant required | string |
| api required | string |
| plan required | string |
required | Array of SubscriptionDemandStep.Email (object) or SubscriptionDemandStep.TeamAdmin (object) or SubscriptionDemandStep.Payment (object) or SubscriptionDemandStep.HttpRequest (object) |
required | object (SubscriptionDemandState) SubscriptionDemandStep |
| team required | string |
| from required | string |
| date required | integer <timestamp> |
| motivation | string or null |
| parentSubscriptionId | string or null |
| customReadOnly | boolean or null |
| customMetadata | object |
| customMaxPerSecond | integer or null <int64> |
| customMaxPerDay | integer or null <int64> |
| customMaxPerMonth | integer or null <int64> |
| adminCustomName | string or null |
{- "_id": "string",
- "_tenant": "string",
- "api": "string",
- "plan": "string",
- "steps": [
- {
- "type": "email",
- "id": "string",
- "emails": [
- "user@example.com"
], - "title": "string",
- "message": "string"
}
], - "state": {
- "id": "string",
- "state": "waiting",
- "step": { },
- "metadata": { }
}, - "team": "string",
- "from": "string",
- "date": 0,
- "motivation": "string",
- "parentSubscriptionId": "string",
- "customReadOnly": true,
- "customMetadata": { },
- "customMaxPerSecond": 0,
- "customMaxPerDay": 0,
- "customMaxPerMonth": 0,
- "adminCustomName": "string"
}{- "error": "string"
}{- "_id": "string",
- "_tenant": "string",
- "api": "string",
- "plan": "string",
- "steps": [
- {
- "type": "email",
- "id": "string",
- "emails": [
- "user@example.com"
], - "title": "string",
- "message": "string"
}
], - "state": {
- "id": "string",
- "state": "waiting",
- "step": { },
- "metadata": { }
}, - "team": "string",
- "from": "string",
- "date": 0,
- "motivation": "string",
- "parentSubscriptionId": "string",
- "customReadOnly": true,
- "customMetadata": { },
- "customMaxPerSecond": 0,
- "customMaxPerDay": 0,
- "customMaxPerMonth": 0,
- "adminCustomName": "string"
}[- {
- "_id": "string",
- "_tenant": "string",
- "api": "string",
- "plan": "string",
- "steps": [
- {
- "type": "email",
- "id": "string",
- "emails": [
- "user@example.com"
], - "title": "string",
- "message": "string"
}
], - "state": {
- "id": "string",
- "state": "waiting",
- "step": { },
- "metadata": { }
}, - "team": "string",
- "from": "string",
- "date": 0,
- "motivation": "string",
- "parentSubscriptionId": "string",
- "customReadOnly": true,
- "customMetadata": { },
- "customMaxPerSecond": 0,
- "customMaxPerDay": 0,
- "customMaxPerMonth": 0,
- "adminCustomName": "string"
}
]the subscription-demand to create
| _id required | string |
| _tenant required | string |
| api required | string |
| plan required | string |
required | Array of SubscriptionDemandStep.Email (object) or SubscriptionDemandStep.TeamAdmin (object) or SubscriptionDemandStep.Payment (object) or SubscriptionDemandStep.HttpRequest (object) |
required | object (SubscriptionDemandState) SubscriptionDemandStep |
| team required | string |
| from required | string |
| date required | integer <timestamp> |
| motivation | string or null |
| parentSubscriptionId | string or null |
| customReadOnly | boolean or null |
| customMetadata | object |
| customMaxPerSecond | integer or null <int64> |
| customMaxPerDay | integer or null <int64> |
| customMaxPerMonth | integer or null <int64> |
| adminCustomName | string or null |
{- "_id": "string",
- "_tenant": "string",
- "api": "string",
- "plan": "string",
- "steps": [
- {
- "type": "email",
- "id": "string",
- "emails": [
- "user@example.com"
], - "title": "string",
- "message": "string"
}
], - "state": {
- "id": "string",
- "state": "waiting",
- "step": { },
- "metadata": { }
}, - "team": "string",
- "from": "string",
- "date": 0,
- "motivation": "string",
- "parentSubscriptionId": "string",
- "customReadOnly": true,
- "customMetadata": { },
- "customMaxPerSecond": 0,
- "customMaxPerDay": 0,
- "customMaxPerMonth": 0,
- "adminCustomName": "string"
}{- "_id": "string",
- "_tenant": "string",
- "api": "string",
- "plan": "string",
- "steps": [
- {
- "type": "email",
- "id": "string",
- "emails": [
- "user@example.com"
], - "title": "string",
- "message": "string"
}
], - "state": {
- "id": "string",
- "state": "waiting",
- "step": { },
- "metadata": { }
}, - "team": "string",
- "from": "string",
- "date": 0,
- "motivation": "string",
- "parentSubscriptionId": "string",
- "customReadOnly": true,
- "customMetadata": { },
- "customMaxPerSecond": 0,
- "customMaxPerDay": 0,
- "customMaxPerMonth": 0,
- "adminCustomName": "string"
}the cms page to create
| _id required | string |
| _tenant required | string |
| name required | string |
| visible | boolean |
| authenticated | boolean |
| picture | string or null |
| tags | Array of strings |
object | |
| contentType | string |
| forwardRef | string or null |
| body | string |
| path | string or null |
| exact | boolean |
| lastPublishedDate | integer or null <timestamp> |
{- "_id": "page-weather-home",
- "_tenant": "default",
- "name": "Weather home"
}{- "_id": "page-weather-home",
- "_tenant": "default",
- "name": "Weather home"
}| id required | string |
the cms page to update
| _id required | string |
| _tenant required | string |
| name required | string |
| visible | boolean |
| authenticated | boolean |
| picture | string or null |
| tags | Array of strings |
object | |
| contentType | string |
| forwardRef | string or null |
| body | string |
| path | string or null |
| exact | boolean |
| lastPublishedDate | integer or null <timestamp> |
{- "_id": "page-weather-home",
- "_tenant": "default",
- "name": "Weather home"
}{- "error": "string"
}| id required | string |
the patch to update the cms page or a JSON object
| op required | string Enum: "add" "replace" "remove" "copy" "test" |
| path required | string |
| value | any |
[ ]{- "error": "string"
}the cms files, as sent by the CLI
| name required | string |
| content required | string |
| metadata | object |
object or null |
[- {
- "name": "string",
- "content": "string",
- "metadata": { },
- "daikoku_data": {
- "property1": "string",
- "property2": "string"
}
}
]{- "error": "string"
}[- {
- "_id": "keyring-weather",
- "_tenant": "default",
- "team": "team-weather",
- "otoroshiSettings": {
- "type": "Internal"
}, - "apiKey": {
- "clientName": "weather-mobile-app",
- "clientId": "weather-mobile-app-client-id",
- "clientSecret": "weather-mobile-app-client-secret"
}, - "integrationToken": "weather-mobile-app-integration-token",
- "createdAt": 1759190400000
}
]the keyring to create
| _id required | string |
| _tenant required | string |
| team required | string |
| customName | string |
required | object (OtoroshiApiKey) OtoroshiApiKey |
required | object |
| createdAt required | integer <timestamp> |
ApiSubscriptionRotation (object) or null | |
| integrationToken required | string |
| bearerToken | string or null |
ThirdPartySubscriptionInformations.Stripe (object) | |
| enabled | boolean |
object |
{- "_id": "keyring-weather",
- "_tenant": "default",
- "team": "team-weather",
- "otoroshiSettings": {
- "type": "Internal"
}, - "apiKey": {
- "clientName": "weather-mobile-app",
- "clientId": "weather-mobile-app-client-id",
- "clientSecret": "weather-mobile-app-client-secret"
}, - "integrationToken": "weather-mobile-app-integration-token",
- "createdAt": 1759190400000
}{- "_id": "keyring-weather",
- "_tenant": "default",
- "team": "team-weather",
- "otoroshiSettings": {
- "type": "Internal"
}, - "apiKey": {
- "clientName": "weather-mobile-app",
- "clientId": "weather-mobile-app-client-id",
- "clientSecret": "weather-mobile-app-client-secret"
}, - "integrationToken": "weather-mobile-app-integration-token",
- "createdAt": 1759190400000
}{- "_id": "keyring-weather",
- "_tenant": "default",
- "team": "team-weather",
- "otoroshiSettings": {
- "type": "Internal"
}, - "apiKey": {
- "clientName": "weather-mobile-app",
- "clientId": "weather-mobile-app-client-id",
- "clientSecret": "weather-mobile-app-client-secret"
}, - "integrationToken": "weather-mobile-app-integration-token",
- "createdAt": 1759190400000
}| id required | string |
the keyring to update
| _id required | string |
| _tenant required | string |
| team required | string |
| customName | string |
required | object (OtoroshiApiKey) OtoroshiApiKey |
required | object |
| createdAt required | integer <timestamp> |
ApiSubscriptionRotation (object) or null | |
| integrationToken required | string |
| bearerToken | string or null |
ThirdPartySubscriptionInformations.Stripe (object) | |
| enabled | boolean |
object |
{- "_id": "keyring-weather",
- "_tenant": "default",
- "team": "team-weather",
- "otoroshiSettings": {
- "type": "Internal"
}, - "apiKey": {
- "clientName": "weather-mobile-app",
- "clientId": "weather-mobile-app-client-id",
- "clientSecret": "weather-mobile-app-client-secret"
}, - "integrationToken": "weather-mobile-app-integration-token",
- "createdAt": 1759190400000
}{- "error": "string"
}| id required | string |
the patch to update the keyring or a JSON object
| op required | string Enum: "add" "replace" "remove" "copy" "test" |
| path required | string |
| value | any |
[ ]{- "error": "string"
}the remote catalog to create
| _id required | string |
| _tenant required | string |
| name required | string |
| enabled | boolean |
object | |
object | |
| allowedKinds | Array of strings Items Enum: "team" "usage-plan" "api" "keyring" "api-subscription" "cms-page" "api-documentation-page" |
| maxDeletionPercent | integer <int32> |
| adoptExisting | boolean |
| folderPerTeam | boolean GitHub and GitLab only. Each teams/ |
| allowDeletions | boolean Default: true when false, an entity removed from the source is detached (it loses its catalog tag) instead of being deleted |
{- "_id": "catalog-weather",
- "_tenant": "default",
- "name": "Weather catalog"
}{- "_id": "catalog-weather",
- "_tenant": "default",
- "name": "Weather catalog"
}| all | boolean Default: false also export the entities already managed by a catalog (tagged created_by) |
{- "error": "string"
}| id required | string |
the remote catalog to update
| _id required | string |
| _tenant required | string |
| name required | string |
| enabled | boolean |
object | |
object | |
| allowedKinds | Array of strings Items Enum: "team" "usage-plan" "api" "keyring" "api-subscription" "cms-page" "api-documentation-page" |
| maxDeletionPercent | integer <int32> |
| adoptExisting | boolean |
| folderPerTeam | boolean GitHub and GitLab only. Each teams/ |
| allowDeletions | boolean Default: true when false, an entity removed from the source is detached (it loses its catalog tag) instead of being deleted |
{- "_id": "catalog-weather",
- "_tenant": "default",
- "name": "Weather catalog"
}{- "error": "string"
}| id required | string |
the patch to update the remote catalog or a JSON object
| op required | string Enum: "add" "replace" "remove" "copy" "test" |
| path required | string |
| value | any |
[ ]{- "error": "string"
}| id required | string |
every file of the catalog, as an array of files or as a zip of the catalog root whose .json, .yaml and .yml files are read; at most 20 MB, and 100 MB once unzipped
| path required | string |
| content required | string |
[- {
- "path": "string",
- "content": "string"
}
]{- "_id": "string",
- "_tenant": "string",
- "catalog": "string",
- "at": 0,
- "status": "completed",
- "created": [
- {
- "kind": "string",
- "id": "string",
- "name": "string",
- "changes": [
- {
- "op": "add",
- "path": "string",
- "value": null,
- "old": null
}
]
}
], - "updated": [
- {
- "kind": "string",
- "id": "string",
- "name": "string",
- "changes": [
- {
- "op": "add",
- "path": "string",
- "value": null,
- "old": null
}
]
}
], - "deleted": [
- {
- "kind": "string",
- "id": "string",
- "name": "string",
- "changes": [
- {
- "op": "add",
- "path": "string",
- "value": null,
- "old": null
}
]
}
], - "detached": [
- {
- "kind": "string",
- "id": "string",
- "name": "string",
- "changes": [
- {
- "op": "add",
- "path": "string",
- "value": null,
- "old": null
}
]
}
], - "errors": [
- {
- "source": "string",
- "message": "string",
- "entity": {
- "kind": "string",
- "id": "string",
- "name": "string",
- "changes": [
- {
- "op": "add",
- "path": "string",
- "value": null,
- "old": null
}
]
}
}
]
}| id required | string |
{- "_id": "string",
- "_tenant": "string",
- "catalog": "string",
- "at": 0,
- "status": "completed",
- "created": [
- {
- "kind": "string",
- "id": "string",
- "name": "string",
- "changes": [
- {
- "op": "add",
- "path": "string",
- "value": null,
- "old": null
}
]
}
], - "updated": [
- {
- "kind": "string",
- "id": "string",
- "name": "string",
- "changes": [
- {
- "op": "add",
- "path": "string",
- "value": null,
- "old": null
}
]
}
], - "deleted": [
- {
- "kind": "string",
- "id": "string",
- "name": "string",
- "changes": [
- {
- "op": "add",
- "path": "string",
- "value": null,
- "old": null
}
]
}
], - "detached": [
- {
- "kind": "string",
- "id": "string",
- "name": "string",
- "changes": [
- {
- "op": "add",
- "path": "string",
- "value": null,
- "old": null
}
]
}
], - "errors": [
- {
- "source": "string",
- "message": "string",
- "entity": {
- "kind": "string",
- "id": "string",
- "name": "string",
- "changes": [
- {
- "op": "add",
- "path": "string",
- "value": null,
- "old": null
}
]
}
}
]
}| id required | string |
{- "_id": "string",
- "_tenant": "string",
- "catalog": "string",
- "at": 0,
- "status": "completed",
- "created": [
- {
- "kind": "string",
- "id": "string",
- "name": "string",
- "changes": [
- {
- "op": "add",
- "path": "string",
- "value": null,
- "old": null
}
]
}
], - "updated": [
- {
- "kind": "string",
- "id": "string",
- "name": "string",
- "changes": [
- {
- "op": "add",
- "path": "string",
- "value": null,
- "old": null
}
]
}
], - "deleted": [
- {
- "kind": "string",
- "id": "string",
- "name": "string",
- "changes": [
- {
- "op": "add",
- "path": "string",
- "value": null,
- "old": null
}
]
}
], - "detached": [
- {
- "kind": "string",
- "id": "string",
- "name": "string",
- "changes": [
- {
- "op": "add",
- "path": "string",
- "value": null,
- "old": null
}
]
}
], - "errors": [
- {
- "source": "string",
- "message": "string",
- "entity": {
- "kind": "string",
- "id": "string",
- "name": "string",
- "changes": [
- {
- "op": "add",
- "path": "string",
- "value": null,
- "old": null
}
]
}
}
]
}| id required | string |
{- "_id": "string",
- "_tenant": "string",
- "catalog": "string",
- "at": 0,
- "status": "completed",
- "created": [
- {
- "kind": "string",
- "id": "string",
- "name": "string",
- "changes": [
- {
- "op": "add",
- "path": "string",
- "value": null,
- "old": null
}
]
}
], - "updated": [
- {
- "kind": "string",
- "id": "string",
- "name": "string",
- "changes": [
- {
- "op": "add",
- "path": "string",
- "value": null,
- "old": null
}
]
}
], - "deleted": [
- {
- "kind": "string",
- "id": "string",
- "name": "string",
- "changes": [
- {
- "op": "add",
- "path": "string",
- "value": null,
- "old": null
}
]
}
], - "detached": [
- {
- "kind": "string",
- "id": "string",
- "name": "string",
- "changes": [
- {
- "op": "add",
- "path": "string",
- "value": null,
- "old": null
}
]
}
], - "errors": [
- {
- "source": "string",
- "message": "string",
- "entity": {
- "kind": "string",
- "id": "string",
- "name": "string",
- "changes": [
- {
- "op": "add",
- "path": "string",
- "value": null,
- "old": null
}
]
}
}
]
}an export, one {type, payload} JSON object per line
"string"{- "done": true
}