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
82f500f6
Commit
82f500f6
authored
Aug 10, 2019
by
Alexis Sánchez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update links.md to give more consistency with the rest of the documentation
parent
ea671dec
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 @
82f500f6
...
...
@@ -21,7 +21,7 @@ GET /projects/:id/releases/:tag_name/assets/links
Example request:
```
sh
curl
--header
"PRIVATE-TOKEN: gDybLx3yrUK_HLp3qPjS"
"http
://localhost:3000
/api/v4/projects/24/releases/v0.1/assets/links"
curl
--header
"PRIVATE-TOKEN: gDybLx3yrUK_HLp3qPjS"
"http
s://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:
```
sh
curl
--header
"PRIVATE-TOKEN: gDybLx3yrUK_HLp3qPjS"
"http
://localhost:3000
/api/v4/projects/24/releases/v0.1/assets/links/1"
curl
--header
"PRIVATE-TOKEN: gDybLx3yrUK_HLp3qPjS"
"http
s://gitlab.example.com
/api/v4/projects/24/releases/v0.1/assets/links/1"
```
Example response:
...
...
@@ -96,7 +96,7 @@ curl --request POST \
--header
"PRIVATE-TOKEN: gDybLx3yrUK_HLp3qPjS"
\
--data
name
=
"awesome-v0.2.dmg"
\
--data
url
=
"http://192.168.10.15:3000"
\
"http
://localhost:3000
/api/v4/projects/24/releases/v0.1/assets/links"
"http
s://gitlab.example.com
/api/v4/projects/24/releases/v0.1/assets/links"
```
Example response:
...
...
@@ -132,7 +132,7 @@ You have to specify at least one of `name` or `url`
Example request:
```
sh
curl
--request
PUT
--data
name
=
"new name"
--header
"PRIVATE-TOKEN: gDybLx3yrUK_HLp3qPjS"
"http
://localhost:3000
/api/v4/projects/24/releases/v0.1/assets/links/1"
curl
--request
PUT
--data
name
=
"new name"
--header
"PRIVATE-TOKEN: gDybLx3yrUK_HLp3qPjS"
"http
s://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:
```
sh
curl
--request
DELETE
--header
"PRIVATE-TOKEN: gDybLx3yrUK_HLp3qPjS"
"http
://localhost:3000
/api/v4/projects/24/releases/v0.1/assets/links/1"
curl
--request
DELETE
--header
"PRIVATE-TOKEN: gDybLx3yrUK_HLp3qPjS"
"http
s://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