Skip to content
This repository was archived by the owner on May 9, 2020. It is now read-only.

Status Show

sandavid edited this page Apr 27, 2013 · 1 revision

GET status/show

Returns a JSON which contains the status

  • URL

    /status/show?id=id

  • Method:

    GET

  • URL Params

    Required:

    id=[string]

  • Success Response:

    • Content:
    {
        "result": {
            "text": "\"hello world\"",
            "_id": "514cc526da060ebf8d1547aa",
            "token": "12020d065be4447c9395506cc2278c8f",
            "author_username": "sherlock",
            "created_at": "Sun Apr 4 12:00:00 CET 1965",
            "author_id": 1 "author_id_str": "1"
        }
    }
    
  • Error Response:

    • Code: 400 Bad Request
      Content:

      {
      	"error":"Bad Request",
      	"code":400
      }
      
    • Code: 999 Unexpected Error
      Content:

      {
      	"error":"Unexpected Error",
      	"code":999
      }
      
  • Sample Call:

    /status/show?id=514cc526da060ebf8d1547aa

Clone this wiki locally