Sha256: 6d201ff92b57eea94a6e13f3010f14fe7c5c2e2d78becd2de25b4eebffaa6aeb

Contents?: true

Size: 1.27 KB

Versions: 4

Compression:

Stored size: 1.27 KB

Contents

{
  "resource": "Alerts",
  "http_method": "GET",
  "route": "/api/1/alerts/types.json",
  "description": "Listing alert types",
  "explanation": null,
  "parameters": [

  ],
  "requests": [
    {
      "request_method": "GET",
      "request_path": "/api/1/alerts/types.json",
      "request_body": null,
      "request_headers": {
        "Authorization": "Bearer [access token]",
        "Content-Type": "application/json",
        "Accept": "application/json",
        "Host": "example.org",
        "Cookie": ""
      },
      "request_query_parameters": {
      },
      "request_content_type": "application/json",
      "response_status": 200,
      "response_status_text": "OK",
      "response_body": "{\"response\":[\"a\",\"b\",\"c\",\"type1\",\"type2\"],\"count\":5}",
      "response_headers": {"X-Frame-Options":"SAMEORIGIN","X-XSS-Protection":"1; mode=block","X-Content-Type-Options":"nosniff","X-UA-Compatible":"chrome=1","X-Api-Count":"5","Content-Length":"52","Content-Type":"application/json; charset=utf-8","ETag":"\"a303749de6e2955f371d8fd965f71cfa\"","Cache-Control":"max-age=0, private, must-revalidate","X-Request-Id":"aeac1131-16aa-4dff-b996-e3ec81a0a956","X-Runtime":"0.041149"},
      "response_content_type": "application/json; charset=utf-8",
      "curl": null
}
  ]
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
apitome-0.0.7 spec/dummy/doc/api/alerts/listing_alert_types.json
apitome-0.0.6 spec/dummy/doc/api/alerts/listing_alert_types.json
apitome-0.0.4 spec/dummy/doc/api/alerts/listing_alert_types.json
apitome-0.0.3 spec/dummy/doc/api/alerts/listing_alert_types.json