I am trying to add a git repository using the API. I am getting a 201 Created response, but it is in fact not creating a new repository and the XML / JSON that is returned is information for an existing repository.
I have tried:
-- Executing the POST with and without JSON data to provide a menu name
-- Using the add.xml and the add.json
-- Different spaces
-- Using a bearer token and using a hardcoded personal key
For the case without sending JSON, I've used the command exactly ( except for including a valid token, space_id, and tool id (128) ) from the documentation: