Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
3c2f615d
Commit
3c2f615d
authored
Apr 27, 2020
by
Mike Jang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Substitute doc'd personal access token
parent
1d38a775
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
doc/api/releases/links.md
doc/api/releases/links.md
+5
-5
No files found.
doc/api/releases/links.md
View file @
3c2f615d
...
...
@@ -21,7 +21,7 @@ GET /projects/:id/releases/:tag_name/assets/links
Example request:
```
shell
curl
--header
"PRIVATE-TOKEN:
gDybLx3yrUK_HLp3qPjS
"
"https://gitlab.example.com/api/v4/projects/24/releases/v0.1/assets/links"
curl
--header
"PRIVATE-TOKEN:
n671WNGecHugsdEDPsyo
"
"https://gitlab.example.com/api/v4/projects/24/releases/v0.1/assets/links"
```
Example response:
...
...
@@ -60,7 +60,7 @@ GET /projects/:id/releases/:tag_name/assets/links/:link_id
Example request:
```
shell
curl
--header
"PRIVATE-TOKEN:
gDybLx3yrUK_HLp3qPjS
"
"https://gitlab.example.com/api/v4/projects/24/releases/v0.1/assets/links/1"
curl
--header
"PRIVATE-TOKEN:
n671WNGecHugsdEDPsyo
"
"https://gitlab.example.com/api/v4/projects/24/releases/v0.1/assets/links/1"
```
Example response:
...
...
@@ -93,7 +93,7 @@ Example request:
```
shell
curl
--request
POST
\
--header
"PRIVATE-TOKEN:
gDybLx3yrUK_HLp3qPjS
"
\
--header
"PRIVATE-TOKEN:
n671WNGecHugsdEDPsyo
"
\
--data
name
=
"awesome-v0.2.dmg"
\
--data
url
=
"http://192.168.10.15:3000"
\
"https://gitlab.example.com/api/v4/projects/24/releases/v0.1/assets/links"
...
...
@@ -132,7 +132,7 @@ You have to specify at least one of `name` or `url`
Example request:
```
shell
curl
--request
PUT
--data
name
=
"new name"
--header
"PRIVATE-TOKEN:
gDybLx3yrUK_HLp3qPjS
"
"https://gitlab.example.com/api/v4/projects/24/releases/v0.1/assets/links/1"
curl
--request
PUT
--data
name
=
"new name"
--header
"PRIVATE-TOKEN:
n671WNGecHugsdEDPsyo
"
"https://gitlab.example.com/api/v4/projects/24/releases/v0.1/assets/links/1"
```
Example response:
...
...
@@ -163,7 +163,7 @@ DELETE /projects/:id/releases/:tag_name/assets/links/:link_id
Example request:
```
shell
curl
--request
DELETE
--header
"PRIVATE-TOKEN:
gDybLx3yrUK_HLp3qPjS
"
"https://gitlab.example.com/api/v4/projects/24/releases/v0.1/assets/links/1"
curl
--request
DELETE
--header
"PRIVATE-TOKEN:
n671WNGecHugsdEDPsyo
"
"https://gitlab.example.com/api/v4/projects/24/releases/v0.1/assets/links/1"
```
Example response:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment