certificate - Flexible Security Service API References (1.0.0)

Download OpenAPI specification:Download

manage certificate

Authentication

X-Auth-Token

Security Scheme Type API Key
Header parameter name: {keystone_token}

certificate

Get Certificates

Get certificate resources.

Authorizations:
query Parameters
id
string ^[a-fA-F0-9]{8}(-[a-fA-F0-9]{4}){3}-[a-fA-F0-9]{12}$

The ID of the resource.

name
string ^[a-zA-Z0-9-_]{1,255}$

A name of the resource.

owner
string
Enum: "user" "system"

Who is the owner of the certificate.

tenantId
string ^[a-fA-F0-9]{32}$

ID of the tenant to which the resource belongs.

fraGroupId
string ^[a-fA-F0-9]{8}(-[a-fA-F0-9]{4}){3}-[a-fA-F0-9]{12}$

ID of the service group to which the resource belongs.

Responses

200

OK

400

Bad Request

401

Unauthorized

500

Internal Server Error

503

Service Unavailable

get/v1/certificates
https://api.ntt.com/fsec-ers/v1/certificates

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "certificates":
    [
    ]
}

Create Certificate

Create certificate resource.

Authorizations:
Request Body schema: application/json
certificate
required
object (CertificateCreateRequest)

Responses

202

OK

400

Bad Request

401

Unauthorized

409

Conflict

500

Internal Server Error

503

Service Unavailable

post/v1/certificates
https://api.ntt.com/fsec-ers/v1/certificates

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "certificate":
    {
    }
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "certificate":
    {
    }
}

Get Certificate

Get certificate resource.

Authorizations:
path Parameters
certificate_id
required
string ^[a-fA-F0-9]{8}(-[a-fA-F0-9]{4}){3}-[a-fA-F0-9]{12}$

Responses

200

OK

400

Bad Request

401

Unauthorized

404

Not Found

500

Internal Server Error

503

Service Unavailable

get/v1/certificates/{certificate_id}
https://api.ntt.com/fsec-ers/v1/certificates/{certificate_id}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "certificate":
    {
    }
}

Update Certificate

Update certificate resource.

Authorizations:
path Parameters
certificate_id
required
string ^[a-fA-F0-9]{8}(-[a-fA-F0-9]{4}){3}-[a-fA-F0-9]{12}$
Request Body schema: application/json
certificate
required
object (CertificateUpdateRequest)

Responses

202

OK

400

Bad Request

401

Unauthorized

404

Not Found

409

Conflict

500

Internal Server Error

503

Service Unavailable

patch/v1/certificates/{certificate_id}
https://api.ntt.com/fsec-ers/v1/certificates/{certificate_id}

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "certificate":
    {
    }
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "certificate":
    {
    }
}

Delete Certificate

Delete certificate resource.

Authorizations:
path Parameters
certificate_id
required
string ^[a-fA-F0-9]{8}(-[a-fA-F0-9]{4}){3}-[a-fA-F0-9]{12}$

Responses

202

OK

400

Bad Request

401

Unauthorized

404

Not Found

409

Conflict

500

Internal Server Error

503

Service Unavailable

delete/v1/certificates/{certificate_id}
https://api.ntt.com/fsec-ers/v1/certificates/{certificate_id}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "certificate":
    {
    }
}

Export Certificate file

Export certificate file only when owner is system.

Authorizations:
path Parameters
certificate_id
required
string ^[a-fA-F0-9]{8}(-[a-fA-F0-9]{4}){3}-[a-fA-F0-9]{12}$

Responses

200

OK

400

Bad Request

401

Unauthorized

404

Not Found

500

Internal Server Error

503

Service Unavailable

get/v1/certificates/{certificate_id}/export
https://api.ntt.com/fsec-ers/v1/certificates/{certificate_id}/export

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "certificateFile":
    {
    }
}