Available in Classic and VPC
Get the list of migration policies.
Request
This section describes the request format. The method and URI are as follows:
| Method | URI |
|---|---|
| GET | /migration-api/v1/policies |
Request headers
For information about the headers common to all Object Migration APIs, see Object Migration request headers.
Request query parameters
You can use the following query parameters with your request:
| Field | Type | Required | Description |
|---|---|---|---|
order |
String | Optional | Sort target
|
sortBy |
String | Optional | Sort order
|
limit |
Integer | Optional | Number of items per page
|
page |
Integer | Optional | Page number
|
Request example
The request example is as follows:
curl --location --request GET 'https://objectmigration.apigw.ntruss.com/migration-api/v1/policies?order=title&sortBy=asc&limit=3&page=0' \
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \
--header 'x-ncp-region_code: KR'
Response
This section describes the response format.
Response body
The response body includes the following data:
| Field | Type | Required | Description |
|---|---|---|---|
objStrContracted |
Boolean | - | Object Storage service subscription status |
num |
Integer | - | Number of migration policies |
jobList |
Array | - | Migration policy list |
jobList
The following describes jobList.
| Field | Type | Required | Description |
|---|---|---|---|
title |
String | - | Migration policy name |
sourceBucketName |
String | - | Source bucket name |
sourceRegionName |
String | - | Source Region code |
sourceCspType |
String | - | Source CSP type
|
sourceEndpoint |
String | - | Source endpoint |
sourcePrefix |
String | - | Source data prefix
|
targetBucketName |
String | - | Target bucket name |
targetRegionName |
String | - | Target Region code |
targetEndpoint |
String | - | Target endpoint |
targetPrefix |
String | - | Prefix
|
jobState |
String | - | Job status
|
createTime |
String | - | Policy creation date and time
|
updateTime |
String | - | Policy update date and time
|
estimatedDone |
Boolean | - | Source object listing completion status
|
estimatedSize |
Number | - | Total capacity of source data |
migratedSize |
Number | - | Migrated data capacity |
skippedSize |
Integer | - | Unmigrated data capacity |
estimatedObjectNum |
Integer | - | Source object count |
migratedObjectNum |
Integer | - | Migrated object count |
skippedObjectNum |
Integer | - | Unmigrated object count |
Response status codes
For information about the HTTP status codes common to all Object Migration APIs, see Object Migration response status codes.
Response example
The response example is as follows:
{
"objStrContracted": true,
"num": 1,
"jobList": [
{
"title": "policy",
"sourceBucketName": "migration135",
"sourceRegionName": "ap-southeast-2",
"sourceCspType": "AWS",
"sourceEndpoint": "https://s3.ap-southeast-2.amazonaws.com",
"sourcePrefix": "",
"targetBucketName": "databucket",
"targetRegionName": "KR",
"targetEndpoint": "https://kr.object.ncloudstorage.com",
"targetPrefix": "",
"jobState": "INITIALIZED",
"createTime": "2025-07-15T00:32:36.480+00:00",
"updateTime": "2025-07-15T00:32:36.480+00:00",
"estimatedDone": false,
"estimatedSize": 0,
"migratedSize": 0,
"skippedSize": 0,
"estimatedObjectNum": 0,
"migratedObjectNum": 0,
"skippedObjectNum": 0
}
]
}