Commit graph

20 commits

Author SHA1 Message Date
Robert Schilling
4dff341af1 Fix wrong API status codes 2017-09-06 09:15:34 +02:00
Shinya Maeda
73ffcb88e9 Update project_snippets.md 2017-08-18 08:48:24 +00:00
James Lopez
a9e8af3386 add spec and project snippet user agent details endpoint 2017-07-07 15:54:39 +02:00
James Lopez
5173955fd4 update docs 2017-07-07 15:18:01 +02:00
Jarka Kadlecova
2e311d9d1a Support uploads for newly created personal snippets 2017-06-07 07:52:41 +02:00
Jarka Kadlecova
4464c22d6d Support descriptions for snippets 2017-05-31 07:17:03 +02:00
Achilleas Pipinellis
5422554b86 Mention URL path encoding to all API docs 2017-04-08 12:38:59 +02:00
Dawid Goslawski
82fad17a7d Add information about namespace encoding to API docs 2017-04-08 12:38:59 +02:00
Toon Claes
b2c2dfe545 Expose Project's & ProjectSnippet's VisibilityLevel as String
Instead of exposing the VisibilityLevel as Integer, expose it as
String `visibility` for Project and ProjectSnippet.

Filter queries also accept the `visibility` as String instead of
`visibility_level` as Integer.

Also remove the `public` boolean.
2017-03-02 09:33:24 +01:00
Robert Schilling
5985b55769 Remove deprecated 'expires_at' from project snippets API 2017-02-07 12:16:00 +01:00
Ben Boeckel
e43c4060b6 api: expose web_url for project entities
This allows web hooks to have a URL back to entities without having to
generate it themselves.
2016-08-24 10:32:31 -04:00
Robert Speicher
befa7a9c17 Don't remove ProjectSnippet#expires_at from API
See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3103

This partially reverts commit 836d593033.
2016-03-09 16:56:42 -05:00
Robert Speicher
836d593033 Remove Snippet#expires_at
This was removed from the interface in
https://github.com/gitlabhq/gitlabhq/pull/6027 but its implementation
lingered around for two years.
2016-03-05 18:12:17 -05:00
Robert Schilling
78aadc9336 Add snippet visibilty as parameter to API doc, closes #1562 2015-05-03 14:56:00 +02:00
James Brooks
3f36f84c1f Consistency, spelling and grammar 2014-08-15 15:03:01 +01:00
Ciro Santilli
fd348de76d Update docs to markdown style guide. 2014-06-03 23:16:31 +02:00
Marin Jankovski
f22c709539 Add titles to doc pages. 2014-05-27 14:12:15 +02:00
Jeroen van Baarsen
ef404d8ea6 Dropped expiration date from the snippet API 2014-01-11 18:40:17 +01:00
Marin Jankovski
5e96d07021 Update snippets and merge request api documentation 2013-10-02 11:04:51 +02:00
Dmitriy Zaporozhets
68d146b4a6 Improve api docs 2013-06-06 13:19:23 +03:00
Renamed from doc/api/snippets.md (Browse further)