8 Service APIs
This section provides a reference for APIs that should be implemented by this Building Block.
8.1 Service Access
8.2 Directory Services
8.2.1 Member Discovery
8.2.2 Service Discovery
List of REST services and endpoints for a service provider
Error in request
Internal error
List of allowed REST services and endpoints for a service provider
Error in request
Internal error
OpenAPI description of the specified REST service
Error in request
Internal error
8.3 Pub/Sub Service
8.3.1 Subscriber API
Certs are exchanged between parties and stored in configuration to have fixed one-to-one connection
List of my subscriptions
Subscription missing
Internal error
Certs are exchanged between parties and stored in configuration to have fixed one-to-one connection
newBirthPUSHPossible values: Subscription created
No content
Invalid request
Subscription already exists
Internal error
No content
Certs are exchanged between parties and stored in configuration to have fixed one-to-one connection
Subscription details
Subscription missing
Internal error
Certs are exchanged between parties and stored in configuration to have fixed one-to-one connection
newBirthPUSHPossible values: Subscription details
Invalid request
Subscription missing
Internal error
No content
Certs are exchanged between parties and stored in configuration to have fixed one-to-one connection
Subscription deleted
Subscription missing
Internal error
No content
8.3.2 PULL delivery mode API
Certs are exchanged between parties and stored in configuration to have fixed one-to-one connection
Event
No event available
Invalid request
Internal error
Certs are exchanged between parties and stored in configuration to have fixed one-to-one connection
event id
Event acknowledged
no event available
invalid request
No content
8.3.3 Publisher API
Certs are exchanged between parties and stored in configuration to have fixed one-to-one connection
newBirth{"dateTime":"2023-05-01T11:25:00+02:00","gender":"M","mother":"Jane Doe","place":"City Hospital","details":{"weight":3200,"length":49,"eyesColor":"brown"}}Event accepted for publishing. Returning event id
Invalid request
Unknown event type
Internal error
Certs are exchanged between parties and stored in configuration to have fixed one-to-one connection
event id of event
Event status
Event missing
Internal error
Certs are exchanged between parties and stored in configuration to have fixed one-to-one connection
event id of event
Event processing stopped
Event missing
Internal error
No content
8.3.4 Event Type API
Certs are exchanged between parties and stored in configuration to have fixed one-to-one connection
newBirth{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "dateTime": { "type": "string", "format": "date-time" }, "gender": { "type": "string", "enum": ["M", "F"] }, "mother": { "type": "string" }, "place": { "type": "string" }, "id": { "type": "integer" }, "details": { "type": "object", "properties": { "weight": { "type": "number" }, "length": { "type": "number" }, "eyesColor": { "type": "string" } }, "required": ["weight", "length", "eyesColor"] } }, "required": ["dateTime", "gender", "mother", "place"] }Event type created
No content
Invalid request
Event type already exists
Internal error
No content
Certs are exchanged between parties and stored in configuration to have fixed one-to-one connection
Event type list
Event types does not defined
Internal error
Certs are exchanged between parties and stored in configuration to have fixed one-to-one connection
Event type details
Event type does not defined
Internal error
Certs are exchanged between parties and stored in configuration to have fixed one-to-one connection
Event type deleted
Event type missing
Internal error
No content
8.4 Logging Services
8.5 Monitoring Services
8.6 Management API
8.6.1 Configuration Management
- : Grants write access to IM configuration
Creates Central Servers if init=true
falseSubdomain for GovStack instance to run in
sample.sandbox.govstack.globalName of GovStack instance
nowherelandIM starts configuration creation
Error in request
Internal error
- : Grants write access to IM configuration
Subdomain for GovStack instance to run in
sample.sandbox.govstack.globalName of GovStack instance
nowherelandIM starts configuration update
Error in request
Internal error
- : Grants permission to create IM configuration
Subdomain for GovStack instance to run in
sample.sandbox.govstack.globalName of GovStack instance
nowherelandIM starts configuration creation
Error in request
Internal error
8.6.2 Management of Access Rights
- : Grants permission to see what services are allowed
Filter by member class
Filter by member code
Filter by application ID
Filter by service ID
Number of access rights returned on one page
100Handle for the next page, if the result spans multiple pages. If not specified, there are no more results.
OK
Caller does not have permissions to view access rights
- : Grants permission to allow/deny IM services
Kind of organisation. Namespace for organisation {code}
GOVRegistration number (or identifier) of the organisation in {memberClass} namespace
7001Name of application
CitizensRegistryName of service/API
registrationOK
No content
Caller does not have the necessary permissions to update access rights
No content
- : Grants permission to allow/deny IM services
Kind of organisation. Namespace for organisation {code}
GOVRegistration number (or identifier) of the organisation in {memberClass} namespace
7001Name of application
CitizensRegistryName of service/API
registrationOK
No content
Caller does not have the necessary permissions to update access rights
No content
Was this helpful?