提交 f3b00b60 编写于 作者: N Nathan Friend

Clarify project name vs path

上级 8073b055
...@@ -515,7 +515,7 @@ more than 10,000, the `X-Total` and `X-Total-Pages` headers as well as the ...@@ -515,7 +515,7 @@ more than 10,000, the `X-Total` and `X-Total-Pages` headers as well as the
## Namespaced path encoding ## Namespaced path encoding
If using namespaced API calls, make sure that the `NAMESPACE/PROJECT_NAME` is If using namespaced API calls, make sure that the `NAMESPACE/PROJECT_PATH` is
URL-encoded. URL-encoded.
For example, `/` is represented by `%2F`: For example, `/` is represented by `%2F`:
...@@ -524,6 +524,11 @@ For example, `/` is represented by `%2F`: ...@@ -524,6 +524,11 @@ For example, `/` is represented by `%2F`:
GET /api/v4/projects/diaspora%2Fdiaspora GET /api/v4/projects/diaspora%2Fdiaspora
``` ```
NOTE: **Note:**
A project's **path** is not necessarily the same as its **name**. A
project's path can found in the project's URL or in the project's settings
under **General > Advanced > Change path**.
## Branches and tags name encoding ## Branches and tags name encoding
If your branch or tag contains a `/`, make sure the branch/tag name is If your branch or tag contains a `/`, make sure the branch/tag name is
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册