Returns all flags configured at a reference data level
GET/references/flags
get all flags
Request
Query Parameters
The page number to return of the result set
The size of the pages to return
The field name to sort
Possible values: <= 255 characters
, Value must match regular expression ^[^<>]*$
The name of the flag
Possible values: [Organisation
, Software_Statement
, Authorisation_Server
]
The type of the flag
Possible values: [Active
, Inactive
]
Default value: Active
The status of the flag
Header Parameters
Possible values: Value must match regular expression ^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), \d{2} (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) \d{4} \d{2}:\d{2}:\d{2} (GMT|UTC)$
The time when the PSU last logged in with the TPP. All dates in the HTTP headers are represented as RFC 7231 Full Dates. An example is below: Sun, 10 Sep 2017 19:43:31 UTC
The PSU's IP address if the PSU is currently logged in with the TPP.
An RFC4122 UID used as a correlation id.
Indicates the user-agent that the PSU is using.
Responses
- 200
- 400
- 401
- 403
- 404
- 406
- 429
- 500
- 502
- 504
Paginated response with all flags
Response Headers
x-fapi-interaction-id
string
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
content
object[]
Possible values: <= 40 characters
, Value must match regular expression ^[^<>]*$
Unique ID of the flag
pageable
object
Page number
sort
object
orderBy
object[]
Name of the property used for sorting
Possible values: [ASC
, DESC
]
Direction of sort, i.e. ascending or descending
Was the case ignored
Whether ascending
Size of the page
Offset
Is the page sorted
Is this an unpaged response
{
"content": [
{
"Id": "f81d4fae-7dec-11d0-a765-00a0c91e6bf6",
"CreatedAt": "2024-07-29T15:51:28.071Z",
"UpdatedAt": "2024-07-29T15:51:28.071Z",
"Name": "string",
"Description": "string",
"Type": "Organisation",
"Value": "string",
"Status": "Active",
"AccessLevel": 0
}
],
"totalPages": 0,
"totalSize": 0,
"pageable": {
"number": 0,
"sort": {
"sorted": true,
"orderBy": [
{
"property": "createdAt",
"direction": "ASC",
"ignoreCase": true,
"ascending": true
}
]
},
"size": 0,
"offset": 0,
"sorted": true,
"unpaged": true
},
"numberOfElements": 0,
"size": 0,
"offset": 0,
"empty": true,
"pageNumber": 0
}
Bad Request
Response Headers
x-fapi-interaction-id
string
- application/json
- Schema
- Example (from schema)
Schema
Validation Error messages
{
"errors": [
"string"
]
}
Unauthorized
Response Headers
x-fapi-interaction-id
string
Forbidden
Response Headers
x-fapi-interaction-id
string
Not found
Response Headers
x-fapi-interaction-id
string
- application/json
- Schema
- Example (from schema)
Schema
Validation Error messages
{
"errors": [
"string"
]
}
Not Acceptable
Response Headers
x-fapi-interaction-id
string
Too many requests, maximum capacity reached. Requests are now throttled.
Response Headers
x-fapi-interaction-id
string
Internal Server Error
Response Headers
x-fapi-interaction-id
string
Bad Gateway
Response Headers
x-fapi-interaction-id
string
Upstream timeout, insufficient capacity to serve request. More capacity being brought online. Please try again.
Response Headers
x-fapi-interaction-id
string