diff options
Diffstat (limited to 'doc/api/custom_attributes.md')
-rw-r--r-- | doc/api/custom_attributes.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api/custom_attributes.md b/doc/api/custom_attributes.md index 983b2381ae0..20b364993ae 100644 --- a/doc/api/custom_attributes.md +++ b/doc/api/custom_attributes.md @@ -9,7 +9,7 @@ which will be referred to as "resource" in this documentation. Get all custom attributes on a resource. -``` +```plaintext GET /users/:id/custom_attributes GET /groups/:id/custom_attributes GET /projects/:id/custom_attributes @@ -42,7 +42,7 @@ Example response: Get a single custom attribute on a resource. -``` +```plaintext GET /users/:id/custom_attributes/:key GET /groups/:id/custom_attributes/:key GET /projects/:id/custom_attributes/:key @@ -71,7 +71,7 @@ Example response: Set a custom attribute on a resource. The attribute will be updated if it already exists, or newly created otherwise. -``` +```plaintext PUT /users/:id/custom_attributes/:key PUT /groups/:id/custom_attributes/:key PUT /projects/:id/custom_attributes/:key @@ -100,7 +100,7 @@ Example response: Delete a custom attribute on a resource. -``` +```plaintext DELETE /users/:id/custom_attributes/:key DELETE /groups/:id/custom_attributes/:key DELETE /projects/:id/custom_attributes/:key |