todo 431 B

1234567891011121314151617
  1. POST /toys/$name/
  2. => start build
  3. Header:: Authorization: $secret
  4. GET /toys/
  5. => html list of toys
  6. GET /toys/$name
  7. => html list of toy's items
  8. GET /toys/$name/$id #Accept: (text/html | image/*svg | text/plain)
  9. => logs of item
  10. DELETE /toys/$name/$id
  11. => stop build
  12. Header:: Authorization: $secret
  13. GET /toys/$name/$id/$artifact_name
  14. => artifact by name
  15. container gets ARG $number and must put artifact in ~/toys/$name/$number/