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
414ee136
Commit
414ee136
authored
Sep 02, 2020
by
Jonston Chan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace fake tokens with a placeholder
parent
f7d08041
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
doc/api/freeze_periods.md
doc/api/freeze_periods.md
+5
-5
No files found.
doc/api/freeze_periods.md
View file @
414ee136
...
...
@@ -31,7 +31,7 @@ GET /projects/:id/freeze_periods
Example request:
```
shell
curl
--header
"PRIVATE-TOKEN:
gVWYVHDRzXiRpN1rUC8T
"
"https://gitlab.example.com/api/v4/projects/19/freeze_periods"
curl
--header
"PRIVATE-TOKEN:
<your_access_token>
"
"https://gitlab.example.com/api/v4/projects/19/freeze_periods"
```
Example response:
...
...
@@ -65,7 +65,7 @@ GET /projects/:id/freeze_periods/:freeze_period_id
Example request:
```
shell
curl
--header
"PRIVATE-TOKEN:
gVWYVHDRzXiRpN1rUC8T
"
"https://gitlab.example.com/api/v4/projects/19/freeze_periods/1"
curl
--header
"PRIVATE-TOKEN:
<your_access_token>
"
"https://gitlab.example.com/api/v4/projects/19/freeze_periods/1"
```
Example response:
...
...
@@ -99,7 +99,7 @@ POST /projects/:id/freeze_periods
Example request:
```
shell
curl
--header
'Content-Type: application/json'
--header
"PRIVATE-TOKEN:
gVWYVHDRzXiRpN1rUC8T
"
\
curl
--header
'Content-Type: application/json'
--header
"PRIVATE-TOKEN:
<your_access_token>
"
\
--data
'{ "freeze_start": "0 23 * * 5", "freeze_end": "0 7 * * 1", "cron_timezone": "UTC" }'
\
--request
POST https://gitlab.example.com/api/v4/projects/19/freeze_periods
```
...
...
@@ -136,7 +136,7 @@ PUT /projects/:id/freeze_periods/:tag_name
Example request:
```
shell
curl
--header
'Content-Type: application/json'
--header
"PRIVATE-TOKEN:
gVWYVHDRzXiRpN1rUC8T
"
\
curl
--header
'Content-Type: application/json'
--header
"PRIVATE-TOKEN:
<your_access_token>
"
\
--data
'{ "freeze_end": "0 8 * * 1" }'
\
--request
PUT https://gitlab.example.com/api/v4/projects/19/freeze_periods/1
```
...
...
@@ -170,6 +170,6 @@ DELETE /projects/:id/freeze_periods/:freeze_period_id
Example request:
```
shell
curl
--request
DELETE
--header
"PRIVATE-TOKEN:
gVWYVHDRzXiRpN1rUC8T
"
"https://gitlab.example.com/api/v4/projects/19/freeze_periods/1"
curl
--request
DELETE
--header
"PRIVATE-TOKEN:
<your_access_token>
"
"https://gitlab.example.com/api/v4/projects/19/freeze_periods/1"
```
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