Skip to content

Commit 708b93f

Browse files
authored
Merge pull request #205 from vdusek/issue_4042_python
Update workflow in docs
2 parents 97e26bb + 7724518 commit 708b93f

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

docs/workflows/publish-host.rst

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,9 @@ $ http POST $BASE_ADDR$PUBLISHER_HREF'publish/' repository=$REPO_HREF
3737

3838
Response::
3939

40-
[
41-
{
42-
"_href": "/pulp/api/v3/tasks/fd4cbecd-6c6a-4197-9cbe-4e45b0516309/",
43-
"task_id": "fd4cbecd-6c6a-4197-9cbe-4e45b0516309"
44-
}
45-
]
40+
{
41+
"task": "/pulp/api/v3/tasks/fd4cbecd-6c6a-4197-9cbe-4e45b0516309/"
42+
}
4643

4744
Create a variable for convenience.::
4845

docs/workflows/sync.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,7 @@ local repository::
118118
Response::
119119

120120
{
121-
"_href": "/pulp/api/v3/tasks/3896447a-2799-4818-a3e5-df8552aeb903/",
122-
"task_id": "3896447a-2799-4818-a3e5-df8552aeb903"
121+
"task": "/pulp/api/v3/tasks/3896447a-2799-4818-a3e5-df8552aeb903/"
123122
}
124123

125124
You can follow the progress of the task with a GET request to the task href. Notice that when the

0 commit comments

Comments
 (0)