Sebastian Ziebell
7499f65014
API: extracted helper method to validate required parameters, code clean up
...
Added a helper method to check if required parameters are given in an API call. Can be used
to return a `400 Bad Request` return code if a required attribute is missing.
Code clean up and fixed tests.
2013-02-27 17:50:30 +01:00
Sebastian Ziebell
43d7596030
Merge branch 'feature/api-documentation-fixes' of github.com:Xylakant/gitlabhq into fixes/api
...
Conflicts:
doc/api/projects.md
2013-02-27 16:49:45 +01:00
Sebastian Ziebell
f0e417091c
Merge branch 'master' into fixes/api
...
Conflicts:
spec/requests/api/projects_spec.rb
2013-02-20 14:30:11 +01:00
Sebastian Ziebell
eefb27f5ae
Merge branch 'master' into fixes/api
...
Conflicts:
spec/requests/api/projects_spec.rb
2013-02-20 12:43:32 +01:00
Matt Humphrey
33c513274d
Fix RESTfulness of project hook deletions by API
2013-02-20 11:35:36 +00:00
Dmitriy Zaporozhets
67465dc5ef
Fix private flag for project
2013-02-19 11:45:49 +02:00
Sebastian Ziebell
da040fc134
API documentation expanded with status code information
...
Information to return codes added to projects and users documentation.
2013-02-18 11:15:26 +01:00
Sebastian Ziebell
beb00af0c1
API documentation extended with snippets, tags and commits
...
Documentation is updated with information how to handle snippets or how to access tags
and commits. Nearly all project specific functions are now described in the documentation.
A few previous entries have been updated with status codes, e.g. `401 Unauthorized`.
2013-02-15 18:50:52 +01:00
Sebastian Ziebell
99739a58c3
API documentation extended with infos to project branches
2013-02-15 13:54:26 +01:00
Sebastian Ziebell
12a1f73b61
API projects documentation grouped into sections & updated with status codes
...
The API documentation for projects now is structured into major sections that describe
the different aspects when dealing with projects, e.g. hooks, branches, team members etc.
All described methods now contain a list of possible status codes the method can return. A few
methods have extra sample JSON responses and a description if a method is idempotent.
Idempotent methods can be called multiple times while returning the same status code.
2013-02-14 20:43:48 +01:00
Sebastian Ziebell
8045a81bcf
Merge branch 'master' into fixes/api
2013-02-08 10:32:42 +01:00
Felix Gilcher
566de5ab06
update api documentation for delete team member
...
correctly describes the new behavior
2013-02-01 14:20:51 +00:00
Dmitriy Zaporozhets
193a5624b2
add path and path_with_namespace to api project entity
2013-01-31 09:11:35 +02:00
Felix Gilcher
e76215a395
Update docs to reflect that project names are allowed as ID
...
The API accepts project names in all places where project IDs are expected. Updated the docs to
reflect that.
2013-01-28 23:51:45 +01:00
Felix Gilcher
a90d5c21b5
describe the project access level
...
the documentation mentions access_level as required parameter, but fails to list
accepted values.
2013-01-28 16:46:58 +01:00
Riyad Preukschas
056fa05b86
Remove path parameter from projects API
2012-12-22 20:06:18 +01:00
Riyad Preukschas
8f01190eb5
Remove all references tp the project code parameter from the API
2012-12-21 18:47:04 +01:00
Riyad Preukschas
931ec399bd
Remove the code parameter from the projects API
2012-12-21 18:43:46 +01:00
Valeriy Sizov
77d632890b
refactoring gfm_autocomplete
2012-12-20 20:52:12 +02:00
Cyril
d3b8952f8f
Add username to User and UserBasic entities in API and in examples in doc.
2012-12-12 18:51:20 +01:00
jozefvaclavik
d0000e5c18
Update doc/api/projects.md for hooks API
...
Added documentation for getting project hook and editing project hook.
2012-10-12 10:38:15 +03:00
Nihad Abbasov
4162566e11
separate project repositories API docs
2012-09-21 05:03:50 -07:00
Nihad Abbasov
4a072be2d7
API: commits belong to project repository
2012-09-21 04:34:07 -07:00
Nihad Abbasov
25b745271a
add API for project team members
2012-09-21 03:23:17 -07:00
Nihad Abbasov
4e1f1e1422
API docs minor formatting fix
...
[ci-skip]
2012-09-20 18:34:07 +06:00
miks
3b5a90bdf6
Projects hooks API implemented
2012-09-08 20:51:12 +03:00
miks
4226458faf
Merge branch 'master' into project_users_api
2012-09-08 10:50:24 +03:00
Dmitriy Zaporozhets
7c0a1068bf
Merge pull request #1363 from AlexDenisov/api_create_project_fixes
...
API create project fixes
2012-09-06 23:00:04 -07:00
miks
909c8c345d
Make project users API more RESTful
2012-09-06 23:49:29 +03:00
miks
3d3c6674fb
Typo fixed
2012-09-06 16:32:26 +03:00
miks
8f7360f390
API on adding users to project implemented
2012-09-05 23:01:03 +03:00
Rob Taylor
4cb03183ac
Text changes to API documentation
2012-09-04 09:48:33 +01:00
Alex Denisov
e078a173d6
Create project via API: fixes added
2012-09-03 18:00:24 +03:00
Alex Denisov
9811e64d71
Typo and mistakes fixed
2012-08-31 11:11:12 +03:00
Alex Denisov
acac1547a0
JSON for new project removed from API docs
2012-08-31 10:28:38 +03:00
Alex Denisov
b6a0407e7a
Docs changed for Create Project API
2012-08-31 10:27:45 +03:00
Alex Denisov
985ecf0f04
Docs added for Create Project API
2012-08-31 10:25:36 +03:00
randx
fee26c58e2
Move snippets api doc to separate file
2012-08-25 19:21:11 +03:00
Jeremy Anderson
ce837f3d1b
fixed typo
2012-07-31 07:34:06 -07:00
Jeremy Anderson
69c4cea65a
updating project api to include raw blob contents and single branch
2012-07-31 07:32:44 -07:00
Nihad Abbasov
949b1df930
API: update docs
2012-07-25 02:35:41 -07:00
Nihad Abbasov
4083cfa4de
fix typo
2012-07-05 21:20:01 +06:00
Nihad Abbasov
f086676b7c
add docs for existing API
2012-07-05 06:57:45 -07:00