-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Changed documentation of Api v3 #6574
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't look correct. Please check #6559 (comment)
Where are the changes needed |
You need to update the API endpoint and also remove the trailing comma from the json from here: |
@saadmk11 Should this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to change the docs from version update, not version detail, make sure to read the all the thread from the issue.
@stewed I will do the needful |
docs/api/v3.rst
Outdated
@@ -161,7 +161,7 @@ Project details | |||
}, | |||
"_links": { | |||
"_self": "/api/v3/projects/pip/", | |||
"versions": "/api/v3/projects/pip/versions/", | |||
"versions": "/api/v3/project/pip/version/", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you shouldn't change this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
docs/api/v3.rst
Outdated
@@ -294,7 +294,7 @@ Versions listing | |||
Version detail | |||
++++++++++++++ | |||
|
|||
.. http:get:: /api/v3/projects/(string:project_slug)/versions/(string:version_slug)/ | |||
.. http:get:: /api/v3/projects/{project}/versions/{version} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
neither this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
docs/api/v3.rst
Outdated
@@ -346,7 +346,7 @@ Version detail | |||
Version update | |||
++++++++++++++ | |||
|
|||
.. http:patch:: /api/v3/projects/(string:project_slug)/version/(string:version_slug)/ | |||
.. http:patch:: /api/v3/projects/{project}/versions/{version} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you shouldn't remove the types
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should it go like (string:project_slug)/versions/(string:version_slug)/
or (string:{projects})/versions/(string:{version})/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Like the first one
docs/api/v3.rst
Outdated
@@ -315,7 +315,7 @@ Version detail | |||
"identifier": "3a6b3995c141c0888af6591a59240ba5db7d9914", | |||
"ref": "19.0.2", | |||
"built": true, | |||
"active": true, | |||
"active": true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this shouldn't change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
ffdca89
to
e51e68f
Compare
e51e68f
to
80688e3
Compare
Co-Authored-By: Santos Gallegos <[email protected]>
Fixes #6559