ListProperties

갱신 시간: 2025-09-09 11:36:38

Get List of Properties

  • 단일 사용자 통화 빈도: 300/5min
  • 해당 상품(제품): Dynamic Web Acceleration
API 인증에 관한 자세한 내용은 다음을 참조하십시오:API 인증 개요

요청 파라미터

쿼리 매개변수

파라미터 이름설명
serviceTypeString
선택 가능한 값:wsawsa-https
Unique identifier for the product
targetString
선택 가능한 값:stagingproduction
Deployment Environment
offsetInteger
기본값: 0
Indicates the first item to return.
limitInteger
기본값: 100
Maximum number of properties to return. Range: <= 200
sortOrderString
기본값: desc
선택 가능한 값:ascdesc
Order of properties to return.
sortByString
기본값: lastUpdateTime
선택 가능한 값:creationTimelastUpdateTime
Returns results in sorted order.
contractIdString
The id of contract, such as 40015677
itemIdString
The id of product, such as 10

응답 파라미터

Body 파라미터

파라미터 이름설명
codeString
Response code, 0 means successful.
messageString
Response error message if failed.
dataObject
Response data.
countInteger
Number of properties.
propertiesList
List of properties.
propertyIdLong
Property ID
propertyNameString
Name of the property.
propertyCommentString
A description of the property.
serviceTypeString
선택 가능한 값:wsawsa-https
Unique identifier for the product.
creationTimeString
RFC3339 format date indicating when the property was created.
lastUpdateTimeString
RFC3339 date indicating when the property was last updated.
latestVersionInteger
Latest version of the property.
stagingVersionObject
Describes the version of the property deployed to staging.
versionInteger
Version of the property.
hostnamesList
hostnames.
productionVersionObject
Describes the version of the property deployed to production.
versionInteger
Version of the property.
hostnamesList
hostnames.
stagingDeployingVersionObject
Describes the version of the property deploying to staging.
versionInteger
Version of the property.
hostnamesList
hostnames.
productionDeployingVersionObject
Describes the version of the property deploying to production.
versionInteger
Version of the property.
hostnamesList
hostnames.
contractIdString
The id of contract
itemIdString
The id of product

에러 코드

에러 코드(code)설명(message)HTTP 상태 코드설명
0success200success

예제

JSON-200
JSON-200
요청 예제
복사 복사 완료
#!/bin/bash
username="example_username"
apiKey="example_apiKey"
date=`env LANG="en_US.UTF-8" date -u "+%a, %d %b %Y %H:%M:%S GMT"`
password=`echo -en "$date" | openssl dgst -sha1 -hmac $apiKey -binary | openssl enc -base64`
curl -i --url "https://api.cdnetworks.com/api/properties" \
-X "GET" \
-u "$username:$password" \
-H "Date: $date" \
-H "Accept: application/json" \
-H "Content-Type:application/json" \
응답 예제
복사 복사 완료
HTTP/1.1 200 Ok
x-cnc-request-id: a123c383-5443-4eab
Date: Wed, 26 Jun 2024 09:38:00 GMT
x-cnc-process-time: 6.53
Content-Type: application/json;charset=utf-8

{"message":"success","code":"0","data":{"count":1,"properties":[{"propertyId":123456,"propertyName":"demo","propertyComment":"I am a demo.","offerCode":"wsa","creationTime":"2024-10-10T08:08:00Z","lastUpdateTime":"2024-10-10T08:08:18Z","latestVersion":1,"stagingVersion":{"version":1,"hostnames":["www.example.com"]}}]}}
이 문서의 내용이 도움이 되었습니까?
아니오
정상적으로 제출되었습니다.피드백을 주셔서 감사합니다.앞으로도 개선을 위해 노력하겠습니다.