Create an Api Discovery Endpoint for the given organisation and Authorisation Server and Api Version
POST
/organisations/{OrganisationId}/authorisationservers/{AuthorisationServerId}/apiresources/{ApiResourceId}/apidiscoveryendpoints
curl \
-X POST https://matls-api.sandbox.raidiam.io/organisations/{OrganisationId}/authorisationservers/{AuthorisationServerId}/apiresources/{ApiResourceId}/apidiscoveryendpoints \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-H "x-fapi-auth-date: string" \
-H "x-fapi-customer-ip-address: string" \
-H "x-fapi-interaction-id: string" \
-H "x-customer-user-agent: string" \
-d '{"ApiEndpoints":[{"ApiEndpoint":"https://raidiam.io/cb"}]}'
Request examples
# Headers
x-fapi-auth-date: string
x-fapi-customer-ip-address: string
x-fapi-interaction-id: string
x-customer-user-agent: string
# Payload
{
"ApiEndpoints": [
{
"ApiEndpoint": "https://raidiam.io/cb"
}
]
}
Response examples (201)
# Headers
x-fapi-interaction-id: 73cac523-d3ae-2289-b106-330a6218710d
# Payload
{
"ApiDiscoveryEndpoints": [
{
"ApiDiscoveryId": "string",
"ApiEndpoint": "https://raidiam.io/cb"
}
],
"FamilyComplete": true
}
Response examples (400)
# Headers
x-fapi-interaction-id: 73cac523-d3ae-2289-b106-330a6218710d
# Payload
{
"errors": [
"string"
]
}