curl --request GET \
--url https://cdn.r25.io/static/projects/{projectId}/spaces/{spaceId}/banner/instances/{instanceId}/banners \
--header 'x-r25-ac-api-key: <x-r25-ac-api-key>' \
--header 'x-r25-ac-api-secret: <x-r25-ac-api-secret>'{
"totalCount": 999999,
"currentPage": 1,
"list": [
{
"contentId": "<string>",
"projectId": "<string>",
"spaceId": "<string>",
"name": "<string>",
"status": "draft",
"values": {
"title": "<string>",
"url": "<string>",
"image": {
"mediaId": "<string>",
"media": {
"name": "<string>",
"type": "image",
"mediaId": "<string>",
"projectId": "<string>",
"spaceId": "<string>",
"assets": [
{
"path": "media/00000000000000000000000.png",
"accessUrl": "<string>"
}
],
"accessUrl": "<string>",
"thumbnailAccessUrl": "<string>",
"meta": {
"ext": "png",
"mimetype": "image/png",
"asset": "AdobeAnimate_cjs_1_0_0"
},
"fileSize": 1234567,
"duration": 1234567,
"operations": [
{
"type": "trim",
"orientation": "top-left"
}
],
"thumbnailOperations": [
{
"type": "trim",
"orientation": "top-left"
}
],
"alias": "<string>",
"originalUrl": "<string>",
"status": "published",
"signed": true
}
}
},
"alias": "<string>",
"reservedAt": 123,
"closingAt": 123,
"openingAt": 123,
"createdAt": 123,
"updatedAt": 123
}
]
}バナーコンテンツを一覧取得
curl --request GET \
--url https://cdn.r25.io/static/projects/{projectId}/spaces/{spaceId}/banner/instances/{instanceId}/banners \
--header 'x-r25-ac-api-key: <x-r25-ac-api-key>' \
--header 'x-r25-ac-api-secret: <x-r25-ac-api-secret>'{
"totalCount": 999999,
"currentPage": 1,
"list": [
{
"contentId": "<string>",
"projectId": "<string>",
"spaceId": "<string>",
"name": "<string>",
"status": "draft",
"values": {
"title": "<string>",
"url": "<string>",
"image": {
"mediaId": "<string>",
"media": {
"name": "<string>",
"type": "image",
"mediaId": "<string>",
"projectId": "<string>",
"spaceId": "<string>",
"assets": [
{
"path": "media/00000000000000000000000.png",
"accessUrl": "<string>"
}
],
"accessUrl": "<string>",
"thumbnailAccessUrl": "<string>",
"meta": {
"ext": "png",
"mimetype": "image/png",
"asset": "AdobeAnimate_cjs_1_0_0"
},
"fileSize": 1234567,
"duration": 1234567,
"operations": [
{
"type": "trim",
"orientation": "top-left"
}
],
"thumbnailOperations": [
{
"type": "trim",
"orientation": "top-left"
}
],
"alias": "<string>",
"originalUrl": "<string>",
"status": "published",
"signed": true
}
}
},
"alias": "<string>",
"reservedAt": 123,
"closingAt": 123,
"openingAt": 123,
"createdAt": 123,
"updatedAt": 123
}
]
}コンソールで取得したAPIキーを指定してください。
コンソールで取得したAPIシークレットを指定してください。
ご自身のプロジェクトIDを指定してください。
ご自身のスペースIDを指定してください。
ご自身のアプリケーションIDを指定してください。
sizeで指定した数で何ページ目のリソースを取得するか指定できます。
x >= 1最大何個のリソースを取得するか指定できます。
1 <= x <= 99リソースの順番を指定できます。カンマ区切りで、複数の値を指定できます。複数指定の場合、指定した順にソートされます。 e.g. createdAt:desc,updatedAt:asc
コンテンツIDを複数指定して取得できます。カンマ区切りで、複数の値を指定できます。
バナーコンテンツ一覧
999999
1
Show child attributes
バナーのID
プロジェクトのID
スペースのID
バナータイトル
バナーのステータス
draft, published Show child attributes
タイトル
リンクURL
Show child attributes
画像のID
画像のメディア情報
Show child attributes
メディア名
image, video "image"
メディアのID
プロジェクトのID
スペースのID
メディアにアクセスするためのURL。type が video の場合、HLS(.m3u8)のURLを返します。
サムネイル画像のアクセスURL
ファイルサイズ
1234567
メディアの再生時間
1234567
メディアを一意に識別する文字列
オリジナル画像のアクセスURL
published 署名付きURLが有効かどうか
true
バナーを一意に識別する文字列
バナーの公開予約日時
バナーの公開終了日時
バナーの公開開始日時
バナーの作成日時
バナーの更新日時