Skip to content

Latest commit

 

History

History
49 lines (45 loc) · 848 Bytes

task.md

File metadata and controls

49 lines (45 loc) · 848 Bytes

Task

Tasks [GET /config/range]

  • Parameters:
    • key: /task/{namespace}/{key} (string)
    • start: 1 (number)
    • end: 20 (number)
  • Response 200 (application/json)

Task [GET /config]

  • Parameters:
    • key: /task/{namespace}/{key} (string)
  • Response 200 (application/json)
{
	"key": "/task/ns/key",
	"value": `{
		"id": 9,
		"key": "key",
		"name": "",
		"group": "/group/ns/group",
		"extraKeys": {},
		"arguments": {},
		"template": ""
	}`
}

Save [POST /config]

  • Body
{
	"key": "/task/ns/key",
	"value": `{
		"key": "key",
		"name": "",
		"group": "/group/ns/key",
		"extraKeys": {},
		"arguments": {},
		"template": ""
	}`
}
  • Response 200 (application/json)

Delete [DELETE /config]

  • Parameters:
    • key: /task/{namespace}/{key} (string)
  • Response 200 (application/json)