Skip to content
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

docs(api): add missing articles #13363

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ Groups

.. http:get:: /api/groups/(int:id)/

Returns information about group.
Returns information about the group.

:param id: Group's ID
:type id: int
Expand Down Expand Up @@ -670,7 +670,7 @@ Roles

.. http:get:: /api/roles/(int:id)/

Returns information about a role.
Returns information about the role.

:param id: Role ID
:type id: int
Expand Down Expand Up @@ -744,7 +744,7 @@ Languages

.. http:get:: /api/languages/(string:language)/

Returns information about a language.
Returns information about the language.

:param language: Language code
:type language: string
Expand Down Expand Up @@ -847,7 +847,7 @@ Projects

.. http:get:: /api/projects/(string:project)/

Returns information about a project.
Returns information about the project.

:param project: Project URL slug
:type project: string
Expand Down Expand Up @@ -927,7 +927,7 @@ Projects

.. http:get:: /api/projects/(string:project)/repository/

Returns information about VCS repository status. This endpoint contains
Returns information about the VCS repository status. This endpoint contains
only an overall summary for all repositories for the project. To get more detailed
status use :http:get:`/api/components/(string:project)/(string:component)/repository/`.

Expand Down Expand Up @@ -1279,7 +1279,7 @@ Components

.. http:get:: /api/components/(string:project)/(string:component)/

Returns information about translation component.
Returns information about the translation component.

:param project: Project URL slug
:type project: string
Expand Down Expand Up @@ -1599,7 +1599,7 @@ Components

.. http:get:: /api/components/(string:project)/(string:component)/repository/

Returns information about VCS repository status.
Returns information about the VCS repository status.

The response is same as for :http:get:`/api/projects/(string:project)/repository/`.

Expand Down Expand Up @@ -1854,7 +1854,7 @@ Translations

.. http:get:: /api/translations/(string:project)/(string:component)/(string:language)/

Returns information about a translation.
Returns information about the translation.

:param project: Project URL slug
:type project: string
Expand Down Expand Up @@ -2092,7 +2092,7 @@ Translations

.. http:get:: /api/translations/(string:project)/(string:component)/(string:language)/repository/

Returns information about VCS repository status.
Returns information about the VCS repository status.

The response is same as for :http:get:`/api/components/(string:project)/(string:component)/repository/`.

Expand Down Expand Up @@ -2177,7 +2177,7 @@ and XLIFF.
The ``target`` and ``source`` are now arrays to properly handle plural
strings.

Returns information about translation unit.
Returns information about the translation unit.

:param id: Unit ID
:type id: int
Expand Down Expand Up @@ -2270,7 +2270,7 @@ Changes

.. http:get:: /api/changes/(int:id)/

Returns information about translation change.
Returns information about the translation change.

:param id: Change ID
:type id: int
Expand Down Expand Up @@ -2300,7 +2300,7 @@ Screenshots

.. http:get:: /api/screenshots/(int:id)/

Returns information about screenshot information.
Returns information about the screenshot.

:param id: Screenshot ID
:type id: int
Expand Down
Loading