Skip to content

Commit 205fbee

Browse files
committed
Fixes the docs to show the domain usage on the example endpoints.
Closes #298
1 parent 08f2e99 commit 205fbee

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGES/298.doc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fixes the domain usage examples in the docs.

docs/user/guides/sync.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ their repository.
77

88
Start by creating a new repository named "foo":
99
```bash
10-
curl -X POST $BASE_ADDR/pulp/api/v3/repositories/npm/npm/ -d '{"name": "foo"}' -H 'Content-Type: application/json'
10+
curl -X POST $BASE_ADDR/pulp/{domain}/api/v3/repositories/npm/npm/ -d '{"name": "foo"}' -H 'Content-Type: application/json'
1111
```
1212

1313
=== "Response"
@@ -25,7 +25,7 @@ Creating a remote object informs Pulp about an external content source.
2525

2626
=== "Create remote bar"
2727
```bash
28-
curl -X POST $BASE_ADDR/pulp/pulp/api/v3/remotes/npm/npm/ -d '{"name": "bar", "url": "http://some.url/somewhere/"}' -H 'Content-Type: application/json'
28+
curl -X POST $BASE_ADDR/pulp/{domain}/api/v3/remotes/npm/npm/ -d '{"name": "bar", "url": "http://some.url/somewhere/"}' -H 'Content-Type: application/json'
2929
```
3030

3131
=== "Response"

0 commit comments

Comments
 (0)