{ "parameters": [ ], "response_fields": [ ], "requests": [ { "request_headers": { "Content-Type": "application/json" }, "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", "Location": "/api/admin/content_assets/5d5dbdffd4322a4b69d79ab0", "Content-Type": "application/json; charset=utf-8", "ETag": "W/\"422bbe799a211588443cc8859233ba57\"", "Cache-Control": "no-cache, no-store, must-revalidate", "X-Request-Id": "68185ef4-c1f5-485f-9792-fd25ef42733f", "X-Runtime": "0.029879", "Expires": "0", "Content-Length": "441" }, "request_method": "POST", "request_path": "/api/admin/content_assets", "request_body": "{\"asset\":{\"created_at\":\"2019-08-21T21:56:15.293Z\",\"file_aspect_ratio\":1.0,\"file_format\":\"jpeg\",\"file_height\":780,\"file_image\":true,\"file_inverse_aspect_ratio\":1.0,\"file_landscape\":false,\"file_name\":\"file.jpg\",\"file_portrait\":true,\"file_uid\":\"2019/08/21/1yod42gakr_file.jpg\",\"file_width\":780,\"name\":\"Test Asset\",\"subscribed_user_ids\":[],\"tags\":[\"test\"],\"type\":\"image\",\"updated_at\":\"2019-08-21T21:56:15.293Z\"}}", "request_content_type": "application/json", "response_status": 201, "response_status_text": "Created", "response_body": "{\n \"asset\": {\n \"_id\": \"5d5dbdffd4322a4b69d79ab0\",\n \"created_at\": \"2019-08-21T21:56:15.293Z\",\n \"file_aspect_ratio\": 1.0,\n \"file_format\": \"jpeg\",\n \"file_height\": 780,\n \"file_image\": true,\n \"file_inverse_aspect_ratio\": 1.0,\n \"file_landscape\": false,\n \"file_name\": \"file.jpg\",\n \"file_portrait\": true,\n \"file_uid\": \"2019/08/21/1yod42gakr_file.jpg\",\n \"file_width\": 780,\n \"name\": \"Test Asset\",\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n \"test\"\n ],\n \"type\": \"image\",\n \"updated_at\": \"2019-08-21T21:56:15.293Z\"\n }\n}", "response_content_type": "application/json", "curl": "curl \"https://www.example.com/api/admin/content_assets\" -d '{\"asset\":{\"created_at\":\"2019-08-21T21:56:15.293Z\",\"file_aspect_ratio\":1.0,\"file_format\":\"jpeg\",\"file_height\":780,\"file_image\":true,\"file_inverse_aspect_ratio\":1.0,\"file_landscape\":false,\"file_name\":\"file.jpg\",\"file_portrait\":true,\"file_uid\":\"2019/08/21/1yod42gakr_file.jpg\",\"file_width\":780,\"name\":\"Test Asset\",\"subscribed_user_ids\":[],\"tags\":[\"test\"],\"type\":\"image\",\"updated_at\":\"2019-08-21T21:56:15.293Z\"}}' -X POST \\\n\t-H \"Content-Type: application/json\"" } ], "resource": "Content Assets", "description": "Creating a content asset", "route": "/api/admin/content_assets", "http_method": "POST" }