Skip to content

API v2 update global task #978

Description

@c8y3

Implement endpoint PUT /api/v2/global-tasks/{identifier} to update a global task.

  • return 200 in case of success
  • create method in business layer
  • update a field
  • return 400 when a field is in incorrect format
  • return 403 when the user is denied permission
  • return 404 when the resource is not found
  • check returned object is uniform with other endpoints
  • deprecate POST /global/tasks/update/<int:cur_id>
  • openapi: document endpoint
  • openapi: deprecate POST /global/tasks/update/<int:cur_id>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions