{
  "Info": {
    "Label": "Publish Post",
    "Description": "Toggles the published flag of a post. Sends true on, false off.",
    "RequestType": "PUT",
    "DoNotUseBaseURL": false,
    "RequestPath": "posts/{id}",
    "Body": "{\"id\": {id}, \"published\": {value}}",
    "Type": "Toggle",
    "FeedbackType": "Confirm on status 2xx",
    "OffVal": "false",
    "OnVal": "true"
  },
  "Headers": {
    "Headers": [
      {
        "Key": "Content-Type",
        "Value": "application/json; charset=UTF-8"
      }
    ]
  },
  "Variables": [
    {
      "Label": "Post ID",
      "Description": "Which post to publish (1-100)",
      "Tag": "id",
      "Type": "Int",
      "Min": 1,
      "Max": 100
    }
  ]
}
