{ "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/5dddc4dc1241594254075242", "Content-Type": "application/json; charset=utf-8", "X-Requested-With": "", "Vary": "X-Requested-With, X-Workarea-Segments", "Last-Modified": "Wed, 27 Nov 2019 00:35:40 GMT", "Cache-Control": "no-cache, no-store, must-revalidate", "X-Request-Id": "260acbac-8a05-4fd5-ab27-7e7de0ab7128", "X-Runtime": "0.042721", "X-Workarea-Segments": "", "Expires": "0", "Content-Length": "403" }, "request_method": "POST", "request_path": "/api/admin/content", "request_body": "{\"content\":{\"active\":true,\"active_segment_ids\":[],\"automate_metadata\":true,\"browser_title\":null,\"contentable_id\":null,\"contentable_type\":null,\"created_at\":\"2019-11-27T00:35:40.116Z\",\"css\":null,\"head_content\":null,\"javascript\":null,\"meta_description\":null,\"name\":\"Test Content\",\"open_graph_asset_id\":null,\"subscribed_user_ids\":[],\"updated_at\":\"2019-11-27T00:35:40.116Z\"}}", "request_content_type": "application/json", "response_status": 201, "response_status_text": "Created", "response_body": "{\n \"content\": {\n \"_id\": \"5dddc4dc1241594254075242\",\n \"active\": true,\n \"active_segment_ids\": [\n\n ],\n \"automate_metadata\": true,\n \"browser_title\": null,\n \"contentable_id\": null,\n \"contentable_type\": null,\n \"created_at\": \"2019-11-27T00:35:40.116Z\",\n \"css\": null,\n \"head_content\": null,\n \"javascript\": null,\n \"meta_description\": null,\n \"name\": \"Test Content\",\n \"open_graph_asset_id\": null,\n \"subscribed_user_ids\": [\n\n ],\n \"updated_at\": \"2019-11-27T00:35:40.116Z\"\n }\n}", "response_content_type": "application/json", "curl": "curl \"https://www.example.com/api/admin/content\" -d '{\"content\":{\"active\":true,\"active_segment_ids\":[],\"automate_metadata\":true,\"browser_title\":null,\"contentable_id\":null,\"contentable_type\":null,\"created_at\":\"2019-11-27T00:35:40.116Z\",\"css\":null,\"head_content\":null,\"javascript\":null,\"meta_description\":null,\"name\":\"Test Content\",\"open_graph_asset_id\":null,\"subscribed_user_ids\":[],\"updated_at\":\"2019-11-27T00:35:40.116Z\"}}' -X POST \\\n\t-H \"Content-Type: application/json\"" } ], "resource": "Content", "description": "Creating content", "route": "/api/admin/content", "http_method": "POST" }