API:GET /submission/:id

From SoFurry
Revision as of 13:37, 25 April 2016 by Tetsudra (talk | contribs) (Created page with "= Resource URL = https://api.sofurrybeta.com/submission/{id} = Request = GET /submission/5 X-SoFurry-Token: 1:f23f4c181cc8b73a6b4b5d14b45ce79b {} = Response: Success =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Resource URL

https://api.sofurrybeta.com/submission/{id}

Request

GET /submission/5
X-SoFurry-Token: 1:f23f4c181cc8b73a6b4b5d14b45ce79b
{}

Response: Success

HTTP 200
{
  "id": 5,
  "user_id": "1",
  "title": "My awesome artwork",
  "type": "image",
  "description": "Some sample artwork",
  "guid": "f8a89ef6-34ac-a7a5-0c00-ad22165c46ba",
  "visible": "1",
  "reported": "0",
  "hold": "0",
  "rating": "clean",
  "created_at": "2016-04-25 13:23:41",
  "updated_at": "2016-04-25 13:29:25",
  "url": "70bee5de-a96e-9c45-fd7e-e6e92d3ee6cd.png"
}

The resulting content will be a JSON object containing information about the submission