Sha256: bfb9d7cdc9fee615085a5455f80ac205bf90e6241e16c14383635c5e822c55b8

Contents?: true

Size: 1.99 KB

Versions: 1

Compression:

Stored size: 1.99 KB

Contents

{
  "parameters": [

  ],
  "response_fields": [

  ],
  "requests": [
    {
      "request_headers": {
      },
      "request_query_parameters": {
      },
      "response_headers": {
        "X-Frame-Options": "SAMEORIGIN",
        "X-XSS-Protection": "1; mode=block",
        "X-Content-Type-Options": "nosniff",
        "X-Download-Options": "noopen",
        "X-Permitted-Cross-Domain-Policies": "none",
        "Referrer-Policy": "strict-origin-when-cross-origin",
        "Content-Type": "application/json; charset=utf-8",
        "Access-Control-Allow-Origin": "*",
        "Access-Control-Allow-Headers": "*",
        "Access-Control-Allow-Methods": "GET, POST, PATCH, PUT, DELETE, OPTIONS",
        "X-Requested-With": "",
        "Vary": "X-Requested-With, X-Flash-Messages",
        "ETag": "W/\"a5c14b557854cee6ec5f29b9abb23921\"",
        "Cache-Control": "no-cache, no-store, must-revalidate",
        "X-Request-Id": "7dfd7d27-f044-4216-8024-ebdce1de2ee0",
        "X-Runtime": "0.004118",
        "Expires": "0",
        "Content-Length": "217"
      },
      "request_method": "GET",
      "request_path": "/api/storefront/assets/5d5dbd2ed4322a4b69d78df5",
      "request_body": null,
      "request_content_type": null,
      "response_status": 200,
      "response_status_text": "OK",
      "response_body": "{\n  \"id\": \"5d5dbd2ed4322a4b69d78df5\",\n  \"name\": \"Summer Sale Callout\",\n  \"url\": \"http://www.example.com/media/W1siZiIsIjIwMTkvMDgvMjEvNnBrMjhhbDJhel9maWxlLmpwZyJdLFsicCIsIm9wdGltIl1d/file.jpg?sha=158e5af8e3a65664\",\n  \"type\": \"image\"\n}",
      "response_content_type": "application/json",
      "curl": "curl -g \"https://www.example.com/api/storefront/assets/5d5dbd2ed4322a4b69d78df5\" -X GET "
    }
  ],
  "resource": "Assets",
  "description": "Showing an asset",
  "route": "/api/storefront/assets/:id",
  "explanation": "            Use this endpoint to look up assets stored in Workarea. Often times\n            these will be referenced in content blocks.\n",
  "http_method": "GET"
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
workarea-api-4.4.6 doc/api/storefront/assets/showing_an_asset.json