Rest api » History » Version 21
Jean-Philippe Lang, 2010-12-11 14:33
Information about authentication
1 | 1 | Jean-Philippe Lang | h1. Redmine API |
---|---|---|---|
2 | |||
3 | Redmine exposes some of its data through a REST API. This API provides access and basic CRUD operations (create, update, delete) for the resources described below. |
||
4 | |||
5 | 21 | Jean-Philippe Lang | h2. Authentication |
6 | |||
7 | Most of the time, the API requires authentication. To enable the API-style authentication, you have to check *Enable REST API* in Administration -> Settings -> Authentication. Then, authentication can be done in 2 different ways: |
||
8 | * using your regular login/password via HTTP Basic authentication. |
||
9 | * using your API key which is a handy way to avoid putting a password in a script. The API key may be attached to each request as a "key" parameter or it may be passed in as a username with a random password. You can find your API key on your account page ( /my/account ) when logged in, on the right-hand pane of the default layout. |
||
10 | |||
11 | 1 | Jean-Philippe Lang | |
12 | h2. API Description |
||
13 | |||
14 | 15 | Eric Davis | Status legend: |
15 | |||
16 | * Stable - feature complete, no major changes planned |
||
17 | * Beta - usable for integrations with some bugs or missing minor functionality |
||
18 | * Alpha - major functionality in place, needs feedback from API users and integrators |
||
19 | * Prototype - very rough implementation, possible major breaking changes mid-version. *Not recommended for integration* |
||
20 | 1 | Jean-Philippe Lang | * Planned - planned in a future version, depending on developer availability |
21 | * Unplanned - no plans for an api in a near version. |
||
22 | |||
23 | |||
24 | 20 | Jean-Philippe Lang | |_.Resource |_.Status |_.Notes |_.Availability| |
25 | |[[Rest_Issues|Issues]] | Beta | Usable with some bugs and rough edges. | 1.0 | |
||
26 | |[[Rest_Projects|Projects]] | Beta | Usable with some bugs and rough edges. | 1.0 | |
||
27 | |[[Rest_Users|Users]] | Planned | | 1.1 | |
||
28 | |[[Rest_TimeEntries|TimeEntries]] | Planned | | 1.1 | |
||
29 | |[[Rest_WikiPages|Wiki Pages]] | Planned | | | |
||
30 | |[[Rest_Files|Files]] | Planned | | | |
||
31 | |[[Rest_News|News]] | Prototype, Planned | Prototype implementation for @index@ only | | |
||
32 | |[[Rest_AuthSources|Auth Sources]] | Unplanned | | | |
||
33 | |[[Rest_Boards|Boards]] | Unplanned | Forums. See Messages for actual threads and posts | | |
||
34 | |[[Rest_Documents|Documents]] | Unplanned | Might be merged with Files | | |
||
35 | |[[Rest_Enumerations|Enumerations]] | Unplanned | | | |
||
36 | |[[Rest_Groups|Groups]] | Unplanned | | | |
||
37 | |[[Rest_IssueCategories|Issue Categories]] | Unplanned | | | |
||
38 | |[[Rest_IssueRelations|Issue Relations]] | Unplanned | | | |
||
39 | |[[Rest_IssueStatuses|Issue Statuses]] | Unplanned | | | |
||
40 | |[[Rest_Journals|Journals]] | Unplanned | Issue notes and updates (history) | | |
||
41 | |[[Rest_Members|Members]] | Unplanned | | | |
||
42 | |[[Rest_Messages|Messages]] | Unplanned | Forum posts| | |
||
43 | |[[Rest_Query|Query]] | Unplanned | Custom issue queries | | |
||
44 | |[[Rest_Repositories|Repositories]] | Unplanned | | | |
||
45 | |[[Rest_Roles|Roles]] | Unplanned | | | |
||
46 | |[[Rest_Settings|Settings]] | Unplanned | | | |
||
47 | |[[Rest_Trackers|Trackers]] | Unplanned | | | |
||
48 | |[[Rest_Versions|Versions]] | Unplanned | | | |
||
49 | |[[Rest_WikiContents|WikiContents]] | Unplanned | History of a wiki page. May be merged into the main Wiki API| | |
||
50 | 1 | Jean-Philippe Lang | |
51 | 20 | Jean-Philippe Lang | h2. API Usage in various languages |
52 | 1 | Jean-Philippe Lang | |
53 | 5 | Jean-Philippe Lang | * [[Rest_api_with_ruby|Ruby]] |
54 | 1 | Jean-Philippe Lang | * [[Rest_api_with_php|PHP]] |
55 | 18 | Javier Hernandez | * [[Rest_api_with_python|Python]] |