SDPF Menu API (1.0.0)

Download OpenAPI specification:Download

API Reference for SDPF Menu

Revision History

Date Version Detail
2024/08/07 1.0.0 Initial Release

Menu List

The following menus are supported in the {menu} path parameter.

Menu Path Parameter {menu}
HULFT hulft
Power Systems power-systems
Hybrid Cloud with GCP hc-gcp
Hybrid Cloud with AWS aws

Authentication

SDPF

SDPF Menu

Show Menu

Show Menu

path Parameters
menu
required
string

Menu Name

tenant_id
required
string ^[0-9a-f]{32}$
Example: cab37c0a5c40450d9038463783b7d53e

Tenant ID in gl1 region

header Parameters
X-Auth-Token
required
string
Example: e1b37cb197d84e69af37264fc0f167a33

Authentication token generated by Keystone

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

500

Internal Server Error

get/v1/{menu}/{tenant_id}/menu
https://api.ntt.com/sdpf-soy/v1/{menu}/{tenant_id}/menu

Response samples

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

List Menu Files

List Menu Files

path Parameters
menu
required
string

Menu Name

tenant_id
required
string ^[0-9a-f]{32}$
Example: cab37c0a5c40450d9038463783b7d53e

Tenant ID in gl1 region

header Parameters
X-Auth-Token
required
string
Example: e1b37cb197d84e69af37264fc0f167a33

Authentication token generated by Keystone

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

500

Internal Server Error

get/v1/{menu}/{tenant_id}/files
https://api.ntt.com/sdpf-soy/v1/{menu}/{tenant_id}/files

Response samples

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

Show Menu File

Show Menu File

path Parameters
menu
required
string

Menu Name

tenant_id
required
string ^[0-9a-f]{32}$
Example: cab37c0a5c40450d9038463783b7d53e

Tenant ID in gl1 region

file_id
required
string <uuid>

File ID

header Parameters
X-Auth-Token
required
string
Example: e1b37cb197d84e69af37264fc0f167a33

Authentication token generated by Keystone

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

500

Internal Server Error

get/v1/{menu}/{tenant_id}/files/{file_id}
https://api.ntt.com/sdpf-soy/v1/{menu}/{tenant_id}/files/{file_id}

Response samples

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

List Licenses

List Licenses

path Parameters
menu
required
string

Menu Name

tenant_id
required
string ^[0-9a-f]{32}$
Example: cab37c0a5c40450d9038463783b7d53e

Tenant ID in gl1 region

query Parameters
page
integer >= 1
Default: 1

Page number of the results to fetch

per_page
integer [ 1 .. 100 ]
Default: 30

Results per page

status
Array of strings
Items Enum: "Under Review" "Send Back" "Active" "Change Order Send Back" "Delete Order Under Review" "Delete Order Send Back" "Deleted" "Change Order Under Review" "Order Completed"

Status of the license, and multiple statuses can be specified by separating them with commas

plan_type
string
Enum: "Monthly Fixed" "One-Shot" "Monthly Pay-As-You-Go"

Plan Type

header Parameters
X-Auth-Token
required
string
Example: e1b37cb197d84e69af37264fc0f167a33

Authentication token generated by Keystone

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

500

Internal Server Error

get/v1/{menu}/{tenant_id}/licenses
https://api.ntt.com/sdpf-soy/v1/{menu}/{tenant_id}/licenses

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "page": 1,
  • "per_page": 30,
  • "total_count": 2,
  • "licenses":
    [
    ]
}

Create License

Create License

path Parameters
menu
required
string

Menu Name

tenant_id
required
string ^[0-9a-f]{32}$
Example: cab37c0a5c40450d9038463783b7d53e

Tenant ID in gl1 region

header Parameters
X-Auth-Token
required
string
Example: e1b37cb197d84e69af37264fc0f167a33

Authentication token generated by Keystone

Request Body schema: application/json
license
required
object

Responses

202

Accepted

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

500

Internal Server Error

post/v1/{menu}/{tenant_id}/licenses
https://api.ntt.com/sdpf-soy/v1/{menu}/{tenant_id}/licenses

Request samples

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

Response samples

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

Show License

Show License

path Parameters
menu
required
string

Menu Name

tenant_id
required
string ^[0-9a-f]{32}$
Example: cab37c0a5c40450d9038463783b7d53e

Tenant ID in gl1 region

license_id
required
string <uuid>

License ID

header Parameters
X-Auth-Token
required
string
Example: e1b37cb197d84e69af37264fc0f167a33

Authentication token generated by Keystone

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

500

Internal Server Error

get/v1/{menu}/{tenant_id}/licenses/{license_id}
https://api.ntt.com/sdpf-soy/v1/{menu}/{tenant_id}/licenses/{license_id}

Response samples

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

Update License

Update License

path Parameters
menu
required
string

Menu Name

tenant_id
required
string ^[0-9a-f]{32}$
Example: cab37c0a5c40450d9038463783b7d53e

Tenant ID in gl1 region

license_id
required
string <uuid>

License ID

header Parameters
X-Auth-Token
required
string
Example: e1b37cb197d84e69af37264fc0f167a33

Authentication token generated by Keystone

Request Body schema: application/json
license
required
object

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

500

Internal Server Error

patch/v1/{menu}/{tenant_id}/licenses/{license_id}
https://api.ntt.com/sdpf-soy/v1/{menu}/{tenant_id}/licenses/{license_id}

Request samples

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

Response samples

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

Delete License

Delete License

path Parameters
menu
required
string

Menu Name

tenant_id
required
string ^[0-9a-f]{32}$
Example: cab37c0a5c40450d9038463783b7d53e

Tenant ID in gl1 region

license_id
required
string <uuid>

License ID

header Parameters
X-Auth-Token
required
string
Example: e1b37cb197d84e69af37264fc0f167a33

Authentication token generated by Keystone

Responses

204

No Content

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

500

Internal Server Error

delete/v1/{menu}/{tenant_id}/licenses/{license_id}
https://api.ntt.com/sdpf-soy/v1/{menu}/{tenant_id}/licenses/{license_id}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "message": "Parameter is invalid."
}

Reapply License

Reapply License

path Parameters
menu
required
string

Menu Name

tenant_id
required
string ^[0-9a-f]{32}$
Example: cab37c0a5c40450d9038463783b7d53e

Tenant ID in gl1 region

license_id
required
string <uuid>

License ID

header Parameters
X-Auth-Token
required
string
Example: e1b37cb197d84e69af37264fc0f167a33

Authentication token generated by Keystone

Request Body schema: application/json
license
required
object

Responses

202

Accepted

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

500

Internal Server Error

post/v1/{menu}/{tenant_id}/licenses/{license_id}/reapply
https://api.ntt.com/sdpf-soy/v1/{menu}/{tenant_id}/licenses/{license_id}/reapply

Request samples

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

Response samples

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

Apply License Change

Apply Change

path Parameters
menu
required
string

Menu Name

tenant_id
required
string ^[0-9a-f]{32}$
Example: cab37c0a5c40450d9038463783b7d53e

Tenant ID in gl1 region

license_id
required
string <uuid>

License ID

header Parameters
X-Auth-Token
required
string
Example: e1b37cb197d84e69af37264fc0f167a33

Authentication token generated by Keystone

Request Body schema: application/json
license
required
object

Responses

202

Accepted

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

500

Internal Server Error

post/v1/{menu}/{tenant_id}/licenses/{license_id}/apply-change
https://api.ntt.com/sdpf-soy/v1/{menu}/{tenant_id}/licenses/{license_id}/apply-change

Request samples

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

Response samples

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

Cancel License Change

Cancel License Change

path Parameters
menu
required
string

Menu Name

tenant_id
required
string ^[0-9a-f]{32}$
Example: cab37c0a5c40450d9038463783b7d53e

Tenant ID in gl1 region

license_id
required
string <uuid>

License ID

header Parameters
X-Auth-Token
required
string
Example: e1b37cb197d84e69af37264fc0f167a33

Authentication token generated by Keystone

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

500

Internal Server Error

post/v1/{menu}/{tenant_id}/licenses/{license_id}/cancel-change
https://api.ntt.com/sdpf-soy/v1/{menu}/{tenant_id}/licenses/{license_id}/cancel-change

Response samples

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

Cancel License

Cancel License

path Parameters
menu
required
string

Menu Name

tenant_id
required
string ^[0-9a-f]{32}$
Example: cab37c0a5c40450d9038463783b7d53e

Tenant ID in gl1 region

license_id
required
string <uuid>

License ID

header Parameters
X-Auth-Token
required
string
Example: e1b37cb197d84e69af37264fc0f167a33

Authentication token generated by Keystone

Request Body schema: application/json
license
required
object

Responses

202

Accepted

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

500

Internal Server Error

post/v1/{menu}/{tenant_id}/licenses/{license_id}/cancel
https://api.ntt.com/sdpf-soy/v1/{menu}/{tenant_id}/licenses/{license_id}/cancel

Request samples

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

Response samples

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

List License Files

List License Files

path Parameters
menu
required
string

Menu Name

tenant_id
required
string ^[0-9a-f]{32}$
Example: cab37c0a5c40450d9038463783b7d53e

Tenant ID in gl1 region

license_id
required
string <uuid>

License ID

query Parameters
page
integer >= 1
Default: 1

Page number of the results to fetch

per_page
integer [ 1 .. 100 ]
Default: 30

Results per page

header Parameters
X-Auth-Token
required
string
Example: e1b37cb197d84e69af37264fc0f167a33

Authentication token generated by Keystone

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

500

Internal Server Error

get/v1/{menu}/{tenant_id}/licenses/{license_id}/files
https://api.ntt.com/sdpf-soy/v1/{menu}/{tenant_id}/licenses/{license_id}/files

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "page": 1,
  • "per_page": 30,
  • "total_count": 1,
  • "files":
    [
    ]
}

Show License File

Show License File

path Parameters
menu
required
string

Menu Name

tenant_id
required
string ^[0-9a-f]{32}$
Example: cab37c0a5c40450d9038463783b7d53e

Tenant ID in gl1 region

license_id
required
string <uuid>

License ID

file_id
required
string <uuid>

File ID

header Parameters
X-Auth-Token
required
string
Example: e1b37cb197d84e69af37264fc0f167a33

Authentication token generated by Keystone

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

500

Internal Server Error

get/v1/{menu}/{tenant_id}/licenses/{license_id}/files/{file_id}
https://api.ntt.com/sdpf-soy/v1/{menu}/{tenant_id}/licenses/{license_id}/files/{file_id}

Response samples

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

List Plans

List Plans

path Parameters
menu
required
string

Menu Name

tenant_id
required
string ^[0-9a-f]{32}$
Example: cab37c0a5c40450d9038463783b7d53e

Tenant ID in gl1 region

query Parameters
page
integer >= 1
Default: 1

Page number of the results to fetch

per_page
integer [ 1 .. 100 ]
Default: 30

Results per page

status
string
Enum: "Active" "Suspended"

Plan Status

type
string
Enum: "Monthly Fixed" "One-Shot" "Monthly Pay-As-You-Go"

Plan Type

header Parameters
X-Auth-Token
required
string
Example: e1b37cb197d84e69af37264fc0f167a33

Authentication token generated by Keystone

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

500

Internal Server Error

get/v1/{menu}/{tenant_id}/plans
https://api.ntt.com/sdpf-soy/v1/{menu}/{tenant_id}/plans

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "page": 1,
  • "per_page": 30,
  • "total_count": 2,
  • "plans":
    [
    ]
}

List Terms

List Terms

path Parameters
menu
required
string

Menu Name

tenant_id
required
string ^[0-9a-f]{32}$
Example: cab37c0a5c40450d9038463783b7d53e

Tenant ID in gl1 region

header Parameters
X-Auth-Token
required
string
Example: e1b37cb197d84e69af37264fc0f167a33

Authentication token generated by Keystone

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

500

Internal Server Error

get/v1/{menu}/{tenant_id}/terms
https://api.ntt.com/sdpf-soy/v1/{menu}/{tenant_id}/terms

Response samples

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