Save a pasted git connection
POST/api/users/:user_id/git-connections/:root/pat
Connects a forge host with a pasted personal access credential after testing it against the forge; a rejected one returns 422 with the forge's reason. Stores it as the caller's own credential, replacing an earlier paste for the same host, and returns 201 with the connection.
Request
Responses
- 201
- 422
Created
Unprocessable content