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

Fix docs for beta 6 and update api.json #1463

Merged
merged 1 commit into from
Oct 1, 2019
Merged
Show file tree
Hide file tree
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
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/"
],

...
}