Skip to content

Commit

Permalink
Fix docs for beta 6 and update api.json
Browse files Browse the repository at this point in the history
[noissue]
  • Loading branch information
goosemania committed Oct 1, 2019
1 parent 83a2476 commit 213e6ec
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion docs/_static/api.json

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions docs/workflows/copy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ or
"created_resources": [
"/pulp/api/v3/content/rpm/packages/1edf8d4e-4293-4b66-93cd-8e913731c87a/",
],
...
}
You can also specify which types of content you would like to copy by providing a value for the
Expand Down
3 changes: 0 additions & 3 deletions docs/workflows/create_sync_publish.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ Create a repository ``foo``
{
"_href": "/pulp/api/v3/repositories/5eeabc0b-3b86-4264-bb3a-5889530a6f5b/",
...
}
``$ export REPO_HREF=$(http :24817/pulp/api/v3/repositories/ | jq -r '.results[] | select(.name == "foo") | ._href')``
Expand All @@ -36,7 +35,6 @@ to download RPMs whenever they are requested by clients.
{
"_href": "/pulp/api/v3/remotes/rpm/rpm/378711cd-1bee-4adc-8d9b-fe3bceaba39f/",
...
}
``$ export REMOTE_HREF=$(http :24817/pulp/api/v3/remotes/rpm/rpm/ | jq -r '.results[] | select(.name == "bar") | ._href')``
Expand Down Expand Up @@ -97,6 +95,5 @@ Create a Distribution for the Publication
{
"_href": "/pulp/api/v3/distributions/8f394d20-f6fb-49dd-af0e-778225d79442/",
...
}
4 changes: 0 additions & 4 deletions docs/workflows/upload.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ Create an Artifact by uploading the file to Pulp.
{
"_href": "/pulp/api/v3/artifacts/d1dd56aa-c236-414a-894f-b3d9334d2e73/",
...
}
Create ``rpm`` content from an Artifact
Expand All @@ -33,7 +32,6 @@ Create a content unit and point it to your artifact
{
"_href": "/pulp/api/v3/content/rpm/packages/2df123b2-0d38-4a43-9b21-a3e830ea1324/",
"artifact": "/pulp/api/v3/artifacts/d1dd56aa-c236-414a-894f-b3d9334d2e73/",
...
}
``$ export CONTENT_HREF=$(http :24817/pulp/api/v3/content/rpm/packages/ | jq -r '.results[] | select( .location_href == "foo-4.1-1.noarch.rpm") | ._href')``
Expand Down Expand Up @@ -63,7 +61,5 @@ With this call you can substitute previous two (or three) steps (create artifact
"/pulp/api/v3/content/rpm/packages/1edf8d4e-4293-4b66-93cd-8e913731c87a/",
"/pulp/api/v3/repositories/64bdeb44-c6d3-4ed7-9c5a-94b264a6b7b5/versions/2/"
],
...
}

0 comments on commit 213e6ec

Please sign in to comment.