Retrieve a specific Asset Version

GET /v1/Services/{ServiceSid}/Assets/{AssetSid}/Versions/{Sid}

The content of an Asset.

Retrieve a specific Asset Version.

Path parameters

  • ServiceSid string Required

    The SID of the Service to fetch the Asset Version resource from.

  • AssetSid string Required

    The SID of the Asset resource that is the parent of the Asset Version resource to fetch.

  • Sid string Required

    The SID of the Asset Version resource to fetch.

Responses

  • 200

    OK

    Hide response attributes Show response attributes object
    • account_sid string | null

      The SID of the Account that created the Asset Version resource

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AC[0-9a-fA-F]{32}$.

    • asset_sid string | null

      The SID of the Asset resource that is the parent of the Asset Version

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^ZH[0-9a-fA-F]{32}$.

    • date_created string(date-time) | null

      The ISO 8601 date and time in GMT when the Asset Version resource was created

    • path string | null

      The URL-friendly string by which the Asset Version can be referenced

    • service_sid string | null

      The SID of the Service that the Asset Version resource is associated with

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^ZS[0-9a-fA-F]{32}$.

    • sid string | null

      The unique string that identifies the Asset Version resource

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^ZN[0-9a-fA-F]{32}$.

    • url string(uri) | null

      The absolute URL of the Asset Version resource

    • visibility string | null

      The access control that determines how the Asset Version can be accessed

      Values are public, private, or protected.

GET /v1/Services/{ServiceSid}/Assets/{AssetSid}/Versions/{Sid}
curl \
 -X GET https://serverless.twilio.com/v1/Services/{ServiceSid}/Assets/{AssetSid}/Versions/{Sid} \
 --user "username:password"
Response examples (200)
{
  "account_sid": "string",
  "asset_sid": "string",
  "date_created": "2023-05-04T09:42:00+00:00",
  "path": "string",
  "service_sid": "string",
  "sid": "string",
  "url": "https://example.com",
  "visibility": "public"
}