Skip to content

Commit

Permalink
fix: detail messages if data.type is invalid
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Feb 27, 2016
1 parent cc1fc35 commit df50f05
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apiary.apib
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ https://twitter.com/gr2m/status/697804572623007744)
errors: [{
"status": "409",
"title": "Conflict",
"detail": "Invalid type provided, only supported type is 'session'"
"detail": "data.type must be 'session'"
}]
}

Expand Down Expand Up @@ -338,7 +338,7 @@ or set account properties or destroy their accounts.
errors: [{
"status": "409",
"title": "Conflict",
"detail": "Invalid type provided, only supported type is 'account'"
"detail": "data.type must be 'account'"
}]
}

Expand Down Expand Up @@ -787,7 +787,7 @@ A user can only see own requests. An admin can see all requests across accounts.
errors: [{
"status": "409",
"title": "Conflict",
"detail": "Invalid type provided, only supported type is 'request'"
"detail": "data.type must be 'request'"
}]
}

Expand Down Expand Up @@ -975,7 +975,7 @@ Admins can fetch and manage all user accounts and their profile properties
errors: [{
"status": "409",
"title": "Conflict",
"detail": "Invalid type provided, only supported type is 'session'"
"detail": "data.type must be 'session'"
}]
}

Expand Down

0 comments on commit df50f05

Please sign in to comment.