Merge "Shipyard Documentation for Configdocs Status"

This commit is contained in:
Anthony Lin 2018-01-08 10:57:49 -05:00 committed by Gerrit Code Review
commit 3554e775f6
2 changed files with 34 additions and 7 deletions

View File

@ -97,6 +97,23 @@ All versions of documents rely upon Deckhand for storage. Shipyard uses the
tagging features of Deckhand of to find the appropriate Committed Documents
and Shipyard Buffer version.
/v1.0/configdocs
~~~~~~~~~~~~~~~~
Represents the site configuration documents' current statuses
GET /v1.0/configdocs
^^^^^^^^^^^^^^^^^^^^
Returns a list of collections including their committed and buffer status.
.. note::
The output type for this request is 'Content-Type: application/json'
Responses
'''''''''
200 OK
If documents can be retrieved
/v1.0/configdocs/{collection_id}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Represents the site configuration documents
@ -822,7 +839,7 @@ Example
'''''''
.. note::
Sub_dags can be queried to restrict to only that sub-dags steps. e.g. using
Sub_dags can be queried to restrict to only that sub-dags steps. e.g. using
this as {workflow_id}:
deploy_site.preflight.armada_preflight_check__2017-10-09T21:19:03.000000

View File

@ -532,14 +532,16 @@ Shipyard Buffer.
::
shipyard get configdocs
<collection>
[<collection>]
[--committed | --buffer]
Example:
shipyard get configdocs design
<collection>
The collection to retrieve for viewing.
[<collection>]
The collection to retrieve for viewing. If no collection is entered, the
status of the collections in the buffer and those that are committed will be
displayed.
\--committed
Retrieve the documents that have last been committed for this collection
@ -549,8 +551,16 @@ Shipyard Buffer.
prior commit. If no documents have been loaded into the buffer for this
collection, this will return an empty response (default)
Sample
^^^^^^
Samples
^^^^^^^
::
$ shipyard get configdocs
Collection Committed Buffer
coll1 present unmodified
coll2 not present created
::
@ -643,7 +653,7 @@ help
~~~~
Provides topical help for shipyard.
.. note::
.. note::
--help will provide more specific command help.