Skip to content

Commit

Permalink
fix: remove application/vnd.api+json content-type from body-less re…
Browse files Browse the repository at this point in the history
…quests
  • Loading branch information
gr2m committed Nov 27, 2015
1 parent c9fb9f0 commit 44d4dd8
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions apiary.apib
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,14 @@ current session status.

### Check session [GET]

+ Request (Content-Type: application/vnd.api+json)
+ Request

+ Headers

Accept: application/vnd.api+json
Authorization: Bearer sessionid123

+ Response 200 (Content-Type: application/vnd.api+json)
+ Response 200 (application/vnd.api+json)

{
"links": {
Expand Down Expand Up @@ -185,14 +185,14 @@ current session status.

### Check session, include account + profile [GET /session?include=account.profile]

+ Request (Content-Type: application/vnd.api+json)
+ Request

+ Headers

Accept: application/vnd.api+json
Authorization: Bearer sessionid123

+ Response 200 (Content-Type: application/vnd.api+json)
+ Response 200 (application/vnd.api+json)

{
"links": {
Expand Down Expand Up @@ -261,7 +261,7 @@ current session status.

### Sign Out [DELETE]

+ Request (application/vnd.api+json)
+ Request

+ Headers

Expand Down Expand Up @@ -520,7 +520,7 @@ or set account properties or destroy their accounts.

### Close [DELETE]

+ Request (application/vnd.api+json)
+ Request

+ Headers

Expand Down Expand Up @@ -559,7 +559,7 @@ is created when creating the account.

### Fetch user account profile [GET]

+ Request (application/vnd.api+json)
+ Request

+ Headers

Expand Down Expand Up @@ -985,7 +985,7 @@ All custom user data is stored in the account profile.

### Fetch user account profile [GET]

+ Request (application/vnd.api+json)
+ Request

+ Headers

Expand Down Expand Up @@ -1067,7 +1067,7 @@ All custom user data is stored in the account profile.
### List [GET]


+ Request (application/vnd.api+json)
+ Request

+ Headers

Expand Down Expand Up @@ -1195,7 +1195,7 @@ like an error during password reset delivery.

### Fetch request by id [GET]

+ Request (application/vnd.api+json)
+ Request

+ Headers

Expand All @@ -1220,7 +1220,7 @@ like an error during password reset delivery.

### Delete request [DELETE]

+ Request (application/vnd.api+json)
+ Request

+ Headers

Expand Down

0 comments on commit 44d4dd8

Please sign in to comment.