Skip to content

Commit

Permalink
operation ids
Browse files Browse the repository at this point in the history
  • Loading branch information
narthur committed Dec 23, 2023
1 parent 4071886 commit 1ec245d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions track/routes/organizations.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
post:
operationId: createOrganization
description: Creates a new organization with a single workspace and assigns current user as the organization owner
requestBody:
content:
Expand Down
2 changes: 2 additions & 0 deletions track/routes/organizations/{organization_id}.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
get:
operationId: getOrganization
parameters:
- name: organization_id
in: path
Expand All @@ -17,6 +18,7 @@ get:
* Invalid organization ID
* User not part of organization
put:
operationId: updateOrganization
description: Updates an existing organization
parameters:
- name: organization_id
Expand Down
1 change: 1 addition & 0 deletions track/routes/organizations/{organization_id}/users.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ patch:
* Cannot remove the paying user with organization user ID='...'.
* Cannot remove the organization owner user with organization user ID='...'.
delete:
operationId: deleteOrganizationUser
description: Leaves organization, effectively delete user account in org and delete organization if it is last user
parameters:
- name: organization_id
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
patch:
operationId: stopWorkspaceTimeEntry
description: Stops a workspace time entry.
parameters:
- name: workspace_id
Expand Down

0 comments on commit 1ec245d

Please sign in to comment.