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 b4a425f commit 5d7e9d0
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions track/routes/me/reset_token.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
post:
operationId: resetMeToken
summary: Resets the API token for the current user.
responses:
"200":
Expand Down
1 change: 1 addition & 0 deletions track/routes/me/time_entries.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
get:
operationId: getMeTimeEntries
description: Lists latest time entries.
parameters:
- name: since
Expand Down
1 change: 1 addition & 0 deletions track/routes/me/time_entries/current.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
get:
operationId: getMeTimeEntryCurrent
description: Load running time entry for user ID.
responses:
"200":
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
post:
operationId: createMeWorkspaceTimeEntry
description: Creates a new workspace TimeEntry.
parameters:
- name: workspace_id
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
patch:
operationId: patchWorkspaceTimeEntries
description: "In short: http://tools.ietf.org/html/rfc6902 and http://tools.ietf.org/html/rfc6901 with some additions. Patch will be executed partially when there are errors with some records. No transaction, no rollback."
parameters:
- name: workspace_id
Expand Down
2 changes: 2 additions & 0 deletions track/routes/workspaces/{workspace_id}/preferences.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
get:
operationId: getWorkspacePreferences
summary: Get the preferences for a given workspace.
parameters:
- name: workspace_id
Expand All @@ -24,6 +25,7 @@ get:
"500":
description: Internal Server Error
post:
operationId: updateWorkspacePreferences
summary: Update the preferences for a given workspace.
parameters:
- name: workspace_id
Expand Down

0 comments on commit 5d7e9d0

Please sign in to comment.