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
2ffc438e
Commit
2ffc438e
authored
Jan 18, 2016
by
Achilleas Pipinellis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use plaintext instead of json in code blocks
[ci skip]
parent
958dd277
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
doc/api/README.md
doc/api/README.md
+2
-2
No files found.
doc/api/README.md
View file @
2ffc438e
...
@@ -268,7 +268,7 @@ Such errors appear in two cases:
...
@@ -268,7 +268,7 @@ Such errors appear in two cases:
When an attribute is missing, you will get something like:
When an attribute is missing, you will get something like:
```
json
```
HTTP/1.1 400 Bad Request
HTTP/1.1 400 Bad Request
Content-Type: application/json
Content-Type: application/json
{
{
...
@@ -279,7 +279,7 @@ Content-Type: application/json
...
@@ -279,7 +279,7 @@ Content-Type: application/json
When a validation error occurs, error messages will be different. They will
When a validation error occurs, error messages will be different. They will
hold all details of validation errors:
hold all details of validation errors:
```
json
```
HTTP/1.1 400 Bad Request
HTTP/1.1 400 Bad Request
Content-Type: application/json
Content-Type: application/json
{
{
...
...
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