Product
Overview
SCP에서 제공하는 IaaS/PaaS 상품을 프로그램적으로 이용할 수 있도록 지원하는 응용 프로그램 인터페이스(Application Programming Interface, API)를 제공합니다.
본 가이드는 PRODUCT 서비스에 대한 간략한 설명 및 API를 호출하는 방법을 제공합니다.
API는 RESTful API 방식으로 제공되며, JSON 형식으로 응답합니다.
Version
| Version | Status | Supported Until |
|---|
| 1.0 | CURRENT | - |
OpenAPI URL
https://product.{environment}.samsungsdscloud.com
Environment and Region List
| environment | region |
|---|
| s | kr-west1 |
| s | kr-east1 |
| g | kr-south1 |
| g | kr-south2 |
| g | kr-south3 |
| e | kr-west1 |
| e | kr-east1 |
1.1.1 - 1.0
get /v1/product-categories
Description
List product categories
상태
ACTIVE (CURRENT)
Parameters
| Type | Name | Description | Schema | Default |
|---|
| query | limit optional | LIMIT Example : 10
| integer | None |
| query | page optional | Page Example : 1
| integer | None |
| query | display_name optional | Product Category Name Example : Networking
| array[any of [string, null]] | [] |
| query | display_name_ko optional | Product Category Name Example : Networking
| array[any of [string, null]] | [] |
| query | is_exposed_menu optional | Product Category Menu Exposed Status Example : True
| array[any of [boolean, null]] | [] |
| query | created_by optional | Created by Example : 김삼성
| any of [string, null] | None |
| query | modified_by optional | Modified by Example : 김삼성
| any of [string, null] | None |
| query | created_start_date optional | Created start date Example : 2024-01-01T00:00:00
| any of [string (date-time), null] | None |
| query | created_end_date optional | Created end date Example : 2024-01-01T00:00:00
| any of [string (date-time), null] | None |
| query | modified_start_date optional | Modified start date Example : 2024-01-01T00:00:00
| any of [string (date-time), null] | None |
| query | modified_end_date optional | Modified end date Example : 2024-01-01T00:00:00
| any of [string (date-time), null] | None |
| query | sort optional | Sort Example : created_at:asc
| any of [string, null] | None |
Responses
Example HTTP request
Request path
/v1/product-categories
"Scp-Accesskey = 2sd2gg=2agbdSD26svcD",
"Scp-Signature = fsfsdf235f9U35sdgf35Xsf/qgsdgsdg326=sfsdr23rsef=",
"Scp-Timestamp = 1605290625682",
"Scp-ClientType = Openapi",
"Accept-Language = ko-KR",
"Scp-Api-Version = product 1.0"
Example HTTP response
Response 200
{
"count": 5,
"current_page": "",
"product_categories": [
{
"category_id": "NETWORKING",
"created_at": "2024-01-01T00:00:00",
"created_by": "5cada9f6afa049418c4f18c0c4859202",
"display_name": "Networking",
"display_name_ko": "Networking",
"icon_file_id": "c1d5c1f63bf24f73b32c37f6f7b50310",
"is_exposed_menu": "True",
"modified_at": "2024-01-01T00:00:00",
"modified_by": "5cada9f6afa049418c4f18c0c4859202",
"seq": 9,
"service_group_color_id": "ffff00"
}
],
"total_count": 5,
"total_pages": ""
}
1.2.1 - 1.0
get /v1/products
Description
List products.
상태
ACTIVE (CURRENT)
Parameters
| Type | Name | Description | Schema | Default |
|---|
| query | limit optional | LIMIT Example : 10
| integer | None |
| query | page optional | Page Example : 1
| integer | None |
| query | product_category_id optional | Product Category ID Example : NETWORKING
| array[any of [string, null]] | [] |
| query | product_id optional | Product ID Example : VPC
| array[any of [string, null]] | [] |
| query | display_name optional | Product name Example : VPC
| array[any of [string, null]] | [] |
| query | display_name_ko optional | Product name Example : VPC
| array[any of [string, null]] | [] |
| query | kind optional | Product Kind Example : PRODUCT
| array[any of [string, null]] | [] |
| query | created_start_date optional | Created start date Example : 2024-01-01T00:00:00
| any of [string (date-time), null] | None |
| query | created_end_date optional | Created end date Example : 2024-01-01T00:00:00
| any of [string (date-time), null] | None |
| query | modified_start_date optional | Modified start date Example : 2024-01-01T00:00:00
| any of [string (date-time), null] | None |
| query | modified_end_date optional | Modified end date Example : 2024-01-01T00:00:00
| any of [string (date-time), null] | None |
| query | sort optional | Sort Example : created_at:asc
| any of [string, null] | None |
Responses
Example HTTP request
Request path
/v1/products
"Scp-Accesskey = 2sd2gg=2agbdSD26svcD",
"Scp-Signature = fsfsdf235f9U35sdgf35Xsf/qgsdgsdg326=sfsdr23rsef=",
"Scp-Timestamp = 1605290625682",
"Scp-ClientType = Openapi",
"Accept-Language = ko-KR",
"Scp-Api-Version = product 1.0"
Example HTTP response
Response 200
{
"count": 5,
"current_page": 1,
"products": [
{
"created_at": "2024-01-01T00:00:00",
"created_by": "5cada9f6afa049418c4f18c0c4859202",
"display_name": "VPC",
"display_name_ko": "VPC",
"kind": "PRODUCT",
"modified_at": "2024-01-01T00:00:00",
"modified_by": "5cada9f6afa049418c4f18c0c4859202",
"product_category_id": "NETWORKING",
"product_category_name": "Networking",
"product_id": "VPC"
}
],
"total_count": 5,
"total_pages": 1
}
1.3.1 - 1.0
get /v1/products/{product_id}
Description
Show product.
상태
ACTIVE (CURRENT)
Parameters
| Type | Name | Description | Schema | Default |
|---|
| path | product_id required | Product ID Example : VPC
| string | None |
Responses
| HTTP Code | Description | Schema |
|---|
| 200 | OK | ProductResponse |
| 400 | Bad Request | None |
| 401 | Unauthorized | None |
| 404 | Not Found | None |
Example HTTP request
Request path
/v1/products/{product_id}
"Scp-Accesskey = 2sd2gg=2agbdSD26svcD",
"Scp-Signature = fsfsdf235f9U35sdgf35Xsf/qgsdgsdg326=sfsdr23rsef=",
"Scp-Timestamp = 1605290625682",
"Scp-ClientType = Openapi",
"Accept-Language = ko-KR",
"Scp-Api-Version = product 1.0"
Example HTTP response
Response 200
{
"created_at": "2024-01-01T00:00:00",
"created_by": "5cada9f6afa049418c4f18c0c4859202",
"display_name": "VPC",
"display_name_ko": "VPC",
"kind": "PRODUCT",
"modified_at": "2024-01-01T00:00:00",
"modified_by": "5cada9f6afa049418c4f18c0c4859202",
"product_category_id": "NETWORKING",
"product_category_name": "Networking",
"product_id": "VPC"
}
1.4.1 - 1.0
get /v1/product-categories/{category_id}
Description
Show product category.
상태
ACTIVE (CURRENT)
Parameters
| Type | Name | Description | Schema | Default |
|---|
| path | category_id required | Product Category ID Example : NETWORKING
| string | None |
Responses
Example HTTP request
Request path
/v1/product-categories/{category_id}
"Scp-Accesskey = 2sd2gg=2agbdSD26svcD",
"Scp-Signature = fsfsdf235f9U35sdgf35Xsf/qgsdgsdg326=sfsdr23rsef=",
"Scp-Timestamp = 1605290625682",
"Scp-ClientType = Openapi",
"Accept-Language = ko-KR",
"Scp-Api-Version = product 1.0"
Example HTTP response
Response 200
{
"category_id": "NETWORKING",
"created_at": "2024-01-01T00:00:00",
"created_by": "5cada9f6afa049418c4f18c0c4859202",
"display_name": "Networking",
"display_name_ko": "Networking",
"icon_file_id": "c1d5c1f63bf24f73b32c37f6f7b50310",
"is_exposed_menu": "True",
"modified_at": "2024-01-01T00:00:00",
"modified_by": "5cada9f6afa049418c4f18c0c4859202",
"seq": 9,
"service_group_color_id": "ffff00"
}