Skip to content

Commit

Permalink
Mark REST /learn and /detect-language methods as POST
Browse files Browse the repository at this point in the history
  • Loading branch information
juhoinkinen committed Sep 18, 2024
1 parent 5fed755 commit 2f4a141
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/commands.rst
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Subject index administration
**REST equivalent**
::

/projects/<PROJECT_ID>/learn
POST /projects/<PROJECT_ID>/learn

.. click:: annif.cli:run_suggest
:prog: annif suggest
Expand Down Expand Up @@ -152,7 +152,7 @@ Other
**REST equivalent**
::

/detect-language
POST /detect-language

.. click:: annif.cli:run_completion
:prog: annif completion
Expand Down

0 comments on commit 2f4a141

Please sign in to comment.