Skip to content

API v2 create global task #968

@c8y3

Description

@c8y3

Implement endpoint POST /api/v2/global-tasks to create a global task.

  • return 201 in case of success
  • should allow to set a field
  • check returned object is uniform with other endpoints
  • if a required field is missing, return 400
  • if a field value has the wrong type, return 400
  • return 403 if the user is denied permission to write customer
  • create method in the business layer
  • deprecate POST /global/tasks/add
  • openapi: document endpoint
  • openapi: deprecate POST /global/tasks/add

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions