Get the certificates of the given OrganisationCertificateType for the given organisation

GET /organisations/{OrganisationId}/certificates/{OrganisationCertificateType}

Headers

  • 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

    Format should match the following pattern: ^(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 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.

Path parameters

  • OrganisationId string Required

    The organisation ID

    Minimum length is 1, maximum length is 40. Format should match the following pattern: ^[^<>]*$.

  • The certificate type

    Values are qwac, qseal, rtswac, rtsseal, brseal, brseal_ext, rtstransport_rs, resource_server_signing, or resource_server_encryption. Default value is rtsseal.

Query parameters

  • 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

Responses

  • 200 application/jwk-set+json

    All certificates for the org

    Hide response attributes Show response attributes object
    • Maximum length is 40.

    • Maximum length is 30.

    • JwkPath string

      Used to display path to JWKS containing this certificate

      Maximum length is 255.

    • Used to display path to Org JWKS containing org certificates

      Maximum length is 255.

    • Unique ID associated with the organisation

      Minimum length is 1, maximum length is 40. Format should match the following pattern: ^[^<>]*$.

    • Maximum length is 30.

    • Used to display location of the signed certificate in PEM format

      Maximum length is 255.

    • Unique Software Statement Id

      Maximum length of each is 40. Format of each should match the following pattern: ^[^<>]*$.

    • Status string

      Maximum length is 40.

    • Maximum length is 30.

    • e string

      Maximum length is 255.

    • keyType string

      Maximum length is 255.

    • kid string

      Maximum length is 255.

    • kty string

      Maximum length is 255.

    • n string

      Maximum length is 255.

    • use string

      Maximum length is 255.

    • x5c array[string]

      A PKIX certificate [RFC5280]

      Maximum length of each is 255.

    • x5t string

      Maximum length is 255.

    • Maximum length is 255.

    • x5u string

      Maximum length is 255.

  • 400 application/json

    Bad Request

    Hide headers attribute Show headers attribute
    • An RFC4122 UID used as a correlation id.

      Minimum length is 1, maximum length is 100. Format should match the following pattern: ^[a-zA-Z0-9][a-zA-Z0-9\-]{0,99}$.

    Hide response attribute Show response attribute object
    • errors array[string]

      Validation Error messages

  • Unauthorized

    Hide headers attribute Show headers attribute
    • An RFC4122 UID used as a correlation id.

      Minimum length is 1, maximum length is 100. Format should match the following pattern: ^[a-zA-Z0-9][a-zA-Z0-9\-]{0,99}$.

  • 404 application/json

    Not found

    Hide headers attribute Show headers attribute
    • An RFC4122 UID used as a correlation id.

      Minimum length is 1, maximum length is 100. Format should match the following pattern: ^[a-zA-Z0-9][a-zA-Z0-9\-]{0,99}$.

    Hide response attribute Show response attribute object
    • errors array[string]

      Validation Error messages

  • Not Acceptable

    Hide headers attribute Show headers attribute
    • An RFC4122 UID used as a correlation id.

      Minimum length is 1, maximum length is 100. Format should match the following pattern: ^[a-zA-Z0-9][a-zA-Z0-9\-]{0,99}$.

  • Too many requests, maximum capacity reached. Requests are now throttled.

    Hide headers attribute Show headers attribute
    • An RFC4122 UID used as a correlation id.

      Minimum length is 1, maximum length is 100. Format should match the following pattern: ^[a-zA-Z0-9][a-zA-Z0-9\-]{0,99}$.

  • Internal Server Error

    Hide headers attribute Show headers attribute
    • An RFC4122 UID used as a correlation id.

      Minimum length is 1, maximum length is 100. Format should match the following pattern: ^[a-zA-Z0-9][a-zA-Z0-9\-]{0,99}$.

  • Bad Gateway

    Hide headers attribute Show headers attribute
    • An RFC4122 UID used as a correlation id.

      Minimum length is 1, maximum length is 100. Format should match the following pattern: ^[a-zA-Z0-9][a-zA-Z0-9\-]{0,99}$.

  • Upstream timeout, insufficient capacity to serve request. More capacity being brought online. Please try again.

    Hide headers attribute Show headers attribute
    • An RFC4122 UID used as a correlation id.

      Minimum length is 1, maximum length is 100. Format should match the following pattern: ^[a-zA-Z0-9][a-zA-Z0-9\-]{0,99}$.

GET /organisations/{OrganisationId}/certificates/{OrganisationCertificateType}
curl \
 -X GET https://matls-api.sandbox.raidiam.io/organisations/{OrganisationId}/certificates/{OrganisationCertificateType} \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -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"
Response examples (200)
[
  {
    "ClientName": "string",
    "ExpiryDateTime": "string",
    "JwkPath": "string",
    "OrgJwkPath": "string",
    "OrganisationId": "string",
    "RevokedDateTime": "string",
    "SignedCertPath": "string",
    "SoftwareStatementIds": [
      "string"
    ],
    "Status": "string",
    "ValidFromDateTime": "string",
    "e": "string",
    "keyType": "string",
    "kid": "string",
    "kty": "string",
    "n": "string",
    "use": "string",
    "x5c": [
      "string"
    ],
    "x5t": "string",
    "x5thashS256": "string",
    "x5u": "string"
  }
]
Response examples (400)
# Headers
x-fapi-interaction-id: 73cac523-d3ae-2289-b106-330a6218710d

# Payload
{
  "errors": [
    "string"
  ]
}
Response examples (404)
# Headers
x-fapi-interaction-id: 73cac523-d3ae-2289-b106-330a6218710d

# Payload
{
  "errors": [
    "string"
  ]
}