Get the metadata policy for a federation
Path parameters
-
The federation id
Maximum length is
36
.
Query parameters
-
type string
The metadata policy type
Format should match the following pattern:
^[^<>]*$
. Values areopenid_relying_party
,openid_provider
,oauth_authorization_server
,oauth_client
,oauth_resource
, orfederation_entity
. -
policyStatus string
The status of the policy
Format should match the following pattern:
^[^<>]*$
. Values areactive
,assignable
,pending
, orrejected
. -
version integer
The metadata policy version. Providing a value of '0' returns the latest version
-
page integer
The page number to return of the result set
-
size integer
The size of the pages to return
-
sort string
The field name to sort
GET
/references/federations/{FederationId}/metadata-policy
curl \
-X GET https://matls-api.sandbox.raidiam.io/references/federations/{FederationId}/metadata-policy \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
# Headers
x-fapi-interaction-id: 73cac523-d3ae-2289-b106-330a6218710d
# Payload
{
"empty": true,
"numberOfElements": 42,
"offset": 42,
"pageNumber": 42,
"pageable": {
"number": 42,
"offset": 42,
"size": 42,
"sort": {
"orderBy": [
{
"ascending": true,
"direction": "ASC",
"ignoreCase": true,
"property": "createdAt"
}
],
"sorted": true
},
"sorted": true,
"unpaged": true
},
"size": 42,
"totalPages": 42,
"totalSize": 42
}
Response examples (404)
# Headers
x-fapi-interaction-id: 73cac523-d3ae-2289-b106-330a6218710d
# Payload
{
"errors": [
"string"
]
}