Open Kajot-dev opened 3 months ago
can you clarify the problem? It seems that the creation was successfully with the correct payload.
Payload is correct in both examples (it is different since it uses different api ednpoints). But endpoint /robots
works, but /projects/{project_name_or_id}/robots
does not.
It should succeed in both examples.
To reproduce just try to create a robot via /projects/{project_name_or_id}/robots
(a one which haves some permissions) - it's not possible from my testing
I've encountered same problem along with the inability to create project robot accounts under non-admin user (user has Project Admin privilege)
This endpoint does not parse permissions correctly: Try to create a robot in your project via
/projects/{project_name_or_id}/robots
with this payload:This returns 400 with
pull action of repository resource not exist in project <project_name>
However creating exactly the same robot via
/robots
endpoint works perfectly. Working payload: