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
329721f5
Commit
329721f5
authored
May 21, 2021
by
Craig Norris
Committed by
Nourdin el Bacha
May 21, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply 2 suggestion(s) to 1 file(s)
parent
7b2a5cd3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
doc/development/documentation/restful_api_styleguide.md
doc/development/documentation/restful_api_styleguide.md
+6
-6
No files found.
doc/development/documentation/restful_api_styleguide.md
View file @
329721f5
...
...
@@ -33,8 +33,8 @@ In the Markdown doc for a resource (AKA endpoint):
## API topic template
The following can be used as a template to get started.
Ensure to list the required attributes on top:
Use the following template to help you get started. Be sure to list any
required attributes first in the table.
````
markdown
## Descriptive title
...
...
@@ -51,10 +51,10 @@ Supported attributes:
| Attribute | Type | Required | Description |
|:------------|:---------|:---------|:----------------------|
|
`attribute`
| datatype |
yes
| Detailed description. |
|
`attribute`
| datatype |
no
| Detailed description. |
|
`attribute`
| datatype |
no
| Detailed description. |
|
`attribute`
| datatype |
no
| Detailed description. |
|
`attribute`
| datatype |
**{check-circle}**
Yes
| Detailed description. |
|
`attribute`
| datatype |
**{dotted-circle}**
No
| Detailed description. |
|
`attribute`
| datatype |
**{dotted-circle}**
No
| Detailed description. |
|
`attribute`
| datatype |
**{dotted-circle}**
No
| Detailed description. |
Example request:
...
...
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