Shutterstock
  1. Licenses And Downloads
Shutterstock
  • Images
    • Search
      • Search for images
      • Run multiple image searches
      • Get suggestions for a search term
      • Get keywords from text
      • List image categories
      • List similar images
      • List recommended images
      • List updated images
    • Details
      • List images
      • Get details about images
    • Licenses And Downloads
      • License images
      • List image licenses
      • Download images
    • Collections
      • Create image collections
      • List image collections
      • Get the details of image collections
      • Rename image collections
      • Delete image collections
      • Add images to collections
      • Get the contents of image collections
      • Remove images from collections
    • Featured Collections
      • List featured image collections
      • Get the details of featured image collections
      • Get the contents of featured image collections
  • Computer Vision
    • Legacy
      • Upload ephemeral images
    • Upload
      • Upload images
    • Similar
      • List similar images
      • List similar videos
    • Keywords
      • List suggested keywords
  • Videos
    • Search
      • Search for videos
      • Get suggestions for a search term
      • List similar videos
      • List updated videos
    • Details
      • List videos
      • Get details about videos
      • List video categories
    • Licenses And Downloads
      • License videos
        POST
      • List video licenses
        GET
      • Download videos
        POST
    • Collections
      • Create video collections
      • List video collections
      • Get the details of video collections
      • Rename video collections
      • Delete video collections
      • Add videos to collections
      • Get the contents of video collections
      • Remove videos from collections
    • Featured Collections
      • List featured video collections
      • Get the details of featured video collections
      • Get the contents of featured video collections
  • Audio
    • Search
      • Search for tracks
      • List audio genres
      • List audio instruments
      • List audio moods
    • Details
      • List audio tracks
      • Get details about audio tracks
    • Licenses And Downloads
      • License audio tracks
      • List audio licenses
      • Download audio tracks
    • Collections
      • Create audio collections
      • List audio collections
      • Get the details of audio collections
      • Rename audio collections
      • Delete audio collections
      • Add audio tracks to collections
      • Get the contents of audio collections
      • Remove audio tracks from collections
  • Editorial Images
    • Search
      • Search editorial images
      • List updated content
    • Categories
      • List editorial categories
    • Details
      • Get editorial content details
    • Licenses And Downloads
      • List editorial image licenses
      • License editorial content
    • Livefeeds
      • Get editorial livefeed list
      • Get editorial livefeed
      • Get editorial livefeed items
    • Legacy
      • (Deprecated) Get editorial content details
      • (Deprecated) License editorial content
      • (Deprecated) Get editorial livefeed list
      • (Deprecated) Get editorial livefeed
      • (Deprecated) Get editorial livefeed items
      • (Deprecated) Search editorial content
      • (Deprecated) List editorial categories
      • (Deprecated) List updated content
  • Editorial Video
    • Search
      • Search editorial video content
    • Categories
      • List editorial video categories
    • Details
      • Get editorial video content details
    • Licenses And Downloads
      • List editorial video licenses
      • License editorial video content
  • Catalog
    • Search
      • Search catalogs for assets
    • Collections
      • List catalog collections
      • Create catalog collections
      • Update collection metadata
      • Delete catalog collections
    • Collection Items
      • Add items to catalog collections
      • Remove items from catalog collection
  • Custom Music
    • Renders
      • Create rendered audio
      • Get details about audio renders
    • Search
      • List computer audio instruments
      • List computer audio descriptors
  • Contributors
    • Contributors
      • Get details about multiple contributors
      • Get details about a single contributor
      • List contributors' collections
      • Get details about contributors' collections
      • Get the items in contributors' collections
  • Users
    • Details
      • Get user details
      • Get access token details
      • List user subscriptions
  • Test
    • Echo
      • Echo text
    • Validate
      • Validate input
  • Oauth
    • Authorization
      • Authorize applications
      • Get access tokens
  1. Licenses And Downloads

License videos

开发环境
开发环境
POST
/v2/videos/licenses
This endpoint gets licenses for one or more videos. You must specify the video IDs in the body parameter and the size and subscription ID either in the query parameter or with each video ID in the body parameter. Values in the body parameter override values in the query parameters. The download links in the response are valid for 8 hours.
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/v2/videos/licenses' \
--header 'User-Agent: ShutterstockWorkspace/1.1.30' \
--header 'Content-Type: text/plain' \
--data-raw '{
    "videos": [
        {
            "video_id": "<string>",
            "auth_cookie": {
                "name": "<string>",
                "value": "<string>"
            },
            "editorial_acknowledgement": "<boolean>",
            "metadata": {},
            "price": "<number>",
            "search_id": "<string>",
            "show_modal": "<boolean>",
            "size": "<string>",
            "subscription_id": "<string>"
        },
        {
            "video_id": "<string>",
            "auth_cookie": {
                "name": "<string>",
                "value": "<string>"
            },
            "editorial_acknowledgement": "<boolean>",
            "metadata": {},
            "price": "<number>",
            "search_id": "<string>",
            "show_modal": "<boolean>",
            "size": "<string>",
            "subscription_id": "<string>"
        }
    ]
}'
响应示例响应示例
{
 "$ref": "#/components/schemas/LicenseVideoResultDataList/example"
}

请求参数

Query 参数

Header 参数

Body 参数text/plain
示例

返回响应

🟢200OK
application/json
Body

🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
修改于 2024-04-26 03:33:20
上一页
List video categories
下一页
List video licenses
Built with