Sha256: b6a36c65e1a75ef66f43b1e988fe86c75bb8887b8bbe9a88f7d2e108c01431ae

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/\"84d1ea8812e5268e2a39b2febb4e2a52\"",
        "Cache-Control": "no-cache, no-store, must-revalidate",
        "X-Request-Id": "da2a7293-2f25-43cc-a1a6-aefe5e4735a6",
        "X-Runtime": "0.004657",
        "Expires": "0",
        "Content-Length": "217"
      },
      "request_method": "GET",
      "request_path": "/api/storefront/assets/5d5ecb4ed4322a04dfbf76e6",
      "request_body": null,
      "request_content_type": null,
      "response_status": 200,
      "response_status_text": "OK",
      "response_body": "{\n  \"id\": \"5d5ecb4ed4322a04dfbf76e6\",\n  \"name\": \"Summer Sale Callout\",\n  \"url\": \"http://www.example.com/media/W1siZiIsIjIwMTkvMDgvMjIvOGJ4NzEzZ3k1NF9maWxlLmpwZyJdLFsicCIsIm9wdGltIl1d/file.jpg?sha=ae3e59fda31e8675\",\n  \"type\": \"image\"\n}",
      "response_content_type": "application/json",
      "curl": "curl -g \"https://www.example.com/api/storefront/assets/5d5ecb4ed4322a04dfbf76e6\" -X GET "
    }
  ],
  "resource": "Assets",
  "description": "Showing an asset",
  "route": "/api/storefront/assets/:id",
  "http_method": "GET",
  "explanation": "            Use this endpoint to look up assets stored in Workarea. Often times\n            these will be referenced in content blocks.\n"
}

Version data entries

1 entries across 1 versions & 1 rubygems

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