Skip to content

Commit

Permalink
#1258 added schema for am-i-alive
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-flores committed Aug 5, 2024
1 parent c082fb5 commit cfb8911
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion api-docs/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2099,7 +2099,7 @@
"Organization"
],
"summary": "Updates information about the organization specified by short name (accessible to Secretariat)",
"description": " <h2>Access Control</h2> <p>User must belong to an organization with the <b>Secretariat</b> role</p> <h2>Expected Behavior</h2> <p><b>Secretariat:</b> Updates any organization's information</p>",
"description": " <h2>Access Control</h2> <p>User must belong to an organization with the <b>Secretariat</b> role</p> <h2>Expected Behavior</h2> <p><b>CNA:</b> Updates 'last_active' timestamp to show that a CNA is still active</p> <p><b>Secretariat:</b> Updates any organization's information</p>",
"operationId": "orgUpdateSingle",
"parameters": [
{
Expand Down
20 changes: 20 additions & 0 deletions schemas/org/am-i-alive-response.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"$schema": "http://json-schema.org/draft-04/schema",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "Success description"
},
"updated": {
"type": "object",
"properties": {
"last_active": {
"type": "string",
"format": "date-time",
"description": "The time the organization was last active."
}
}
}
}
}

0 comments on commit cfb8911

Please sign in to comment.