kaizendorks/nexus-go-client

Create Tasks API client

Open

#15 opened on May 29, 2020

 (0 comments) (0 reactions) (0 assignees)Go (2 forks)auto 404
enhancementgood first issue

Repository metrics

Stars
 (1 star)
PR merge metrics
 (PR metrics pending)

Description

Add the following functions and corresponding tests:

  • List tasks: GET ​/v1​/tasks
  • Get a single task by id: GET ​/v1​/tasks​/{id}
  • Run task: POST ​/v1​/tasks​/{id}​/run
  • Stop task: POST ​/v1​/tasks​/{id}​/stop

Contributor guide