Skip to content

Commit

Permalink
Docs: added authentication info
Browse files Browse the repository at this point in the history
  • Loading branch information
sorenabell committed Oct 18, 2016
1 parent 6197b7e commit ccdfa13
Show file tree
Hide file tree
Showing 9 changed files with 53 additions and 22 deletions.
13 changes: 13 additions & 0 deletions docs/source/authentication.rst
@@ -0,0 +1,13 @@
.. _authentication:

Authentication
==============

For Document Service authentication **Basic Authenication scheme** (see :rfc:`2617#section-2`) is used.

In this scheme:

* **Username** is broker's id

* **Password** is API key for Document Service

1 change: 1 addition & 0 deletions docs/source/index.rst
Expand Up @@ -22,6 +22,7 @@ Contents:
:maxdepth: 2

overview
authentication
tutorial

Indices and tables
Expand Down
39 changes: 39 additions & 0 deletions docs/source/locale/uk/LC_MESSAGES/authentication.po
@@ -0,0 +1,39 @@
#
msgid ""
msgstr ""
"Project-Id-Version: openprocurement.documentservice 1.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-10-18 16:20+0300\n"
"PO-Revision-Date: 2016-10-18 16:29+0200\n"
"Last-Translator: Zoriana Zaiats <sorenabell@quintagroup.com>\n"
"Language-Team: Ukrainian <support@quintagroup.com>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.3.4\n"
"Language: uk\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<"
"=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"X-Generator: Lokalize 2.0\n"

msgid "Authentication"
msgstr "Аутентифікація"

msgid ""
"For Document Service authentication **Basic Authenication scheme** (see "
":rfc:`2617#section-2`) is used."
msgstr ""
"Для аутентифікації Document Service використовується **схема базової"
" аутентифікації** (див. "
":rfc:`2617#section-2`)."

msgid "In this scheme:"
msgstr "У цій схемі:"

msgid "**Username** is broker's id"
msgstr "**Ім'я користувача** - ідентифікатор майданчика"

msgid "**Password** is API key for Document Service"
msgstr "**Пароль** - API ключ для Document Service"


Binary file modified docs/source/locale/uk/LC_MESSAGES/index.mo
Binary file not shown.
6 changes: 0 additions & 6 deletions docs/source/locale/uk/LC_MESSAGES/index.po
Expand Up @@ -16,11 +16,9 @@ msgstr ""
"=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"X-Generator: Lokalize 2.0\n"

#: ../../source/index.rst:12
msgid "Welcome to openprocurement.documentservice's documentation!"
msgstr "Вітаємо на сайті документації по openprocurement.documentservice!"

#: ../../source/index.rst:14
msgid ""
"Please report any problems or suggestions for improvement either via the "
"`mailing list <http://groups.google.com/group/open-procurement-general>`_"
Expand All @@ -32,19 +30,15 @@ msgstr ""
"через `issue tracker "
"<https://github.com/openprocurement/openprocurement.documentservice/issues>`_."

#: ../../source/index.rst:19
msgid "Contents:"
msgstr "Зміст:"

#: ../../source/index.rst:27
msgid "Indices and tables"
msgstr "Індекси та таблиці"

#: ../../source/index.rst:29
msgid ":ref:`genindex`"
msgstr ":ref:`genindex`"

#: ../../source/index.rst:30
msgid ":ref:`search`"
msgstr ":ref:`search`"

Expand Down
Binary file modified docs/source/locale/uk/LC_MESSAGES/overview.mo
Binary file not shown.
9 changes: 0 additions & 9 deletions docs/source/locale/uk/LC_MESSAGES/overview.po
Expand Up @@ -16,36 +16,30 @@ msgstr ""
"=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"X-Generator: Lokalize 2.0\n"

#: ../../source/overview.rst:2
msgid "Overview"
msgstr "Огляд"

#: ../../source/overview.rst:5
msgid "Documentation of related packages"
msgstr "Документація пов’язаних пакетів"

#: ../../source/overview.rst:7
msgid "`OpenProcurement API <http://api-docs.openprocurement.org/en/latest/>`_"
msgstr ""
"`OpenProcurement API <http://api-docs.openprocurement.org/uk_UA/latest/>`_"

#: ../../source/overview.rst:9
msgid ""
"`Open tender procedure (OpenUA) <http://openua.api-"
"docs.openprocurement.org/en/latest/>`_"
msgstr ""
"`Відкриті торги (OpenUA) <http://openua.api-"
"docs.openprocurement.org/uk/latest/>`_"

#: ../../source/overview.rst:11
msgid ""
"`Open tender procedure with publication in English (OpenEU) "
"<http://openeu.api-docs.openprocurement.org/en/latest/>`_"
msgstr ""
"`Відкриті торги з публікацією англійською мовою (OpenEU) <http://openeu.api-"
"docs.openprocurement.org/uk/latest/>`_"

#: ../../source/overview.rst:13
msgid ""
"`Reporting, negotiation procurement procedure and negotiation procedure "
"for the urgent need <http://limited.api-"
Expand All @@ -55,23 +49,20 @@ msgstr ""
"переговорна процедура за нагальною потребою <http://limited.api-"
"docs.openprocurement.org/uk/latest/>`_"

#: ../../source/overview.rst:15
msgid ""
"`Defense open tender <http://defense.api-"
"docs.openprocurement.org/en/latest/>`_"
msgstr ""
"`Процедура відкритих торгів для оборонних цілей <http://defense.api-"
"docs.openprocurement.org/uk/latest/>`_"

#: ../../source/overview.rst:17
msgid ""
"`Contracting API interface to OpenProcurement database "
"<http://contracting.api-docs.openprocurement.org/en/latest/>`_"
msgstr ""
"`API для реєстрації даних пов’язаних з договором <http://contracting.api-"
"docs.openprocurement.org/uk/latest/>`_"

#: ../../source/overview.rst:19
msgid ""
"`Relocation API <http://relocation.api-"
"docs.openprocurement.org/en/latest/>`_"
Expand Down
Binary file modified docs/source/locale/uk/LC_MESSAGES/tutorial.mo
Binary file not shown.
7 changes: 0 additions & 7 deletions docs/source/locale/uk/LC_MESSAGES/tutorial.po
Expand Up @@ -16,31 +16,24 @@ msgstr ""
"=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"X-Generator: Lokalize 2.0\n"

#: ../../source/tutorial.rst:4
msgid "Tutorial"
msgstr "Туторіал"

#: ../../source/tutorial.rst:9
msgid "Upload document with registration"
msgstr "Завантаження документа з реєстрацією"

#: ../../source/tutorial.rst:14
msgid "Register document upload:"
msgstr "Зареєструвати завантаження документа:"

#: ../../source/tutorial.rst:19
msgid "or:"
msgstr "або:"

#: ../../source/tutorial.rst:27
msgid "Upload document:"
msgstr "Завантажити документ:"

#: ../../source/tutorial.rst:35
msgid "Upload document w/o registration"
msgstr "Завантаження документа без реєстрації"

#: ../../source/tutorial.rst:43
msgid "Get document"
msgstr "Отримання документа"

Expand Down

0 comments on commit ccdfa13

Please sign in to comment.