##// END OF EJS Templates
API docs update
marcink -
r1491:e63a2841 beta
parent child Browse files
Show More
@@ -7,7 +7,8 b' API'
7
7
8 Starting from RhodeCode version 1.2 a simple API was implemented.
8 Starting from RhodeCode version 1.2 a simple API was implemented.
9 There's one schema for calling all api methods. API is implemented
9 There's one schema for calling all api methods. API is implemented
10 with JSON protocol both ways.
10 with JSON protocol both ways. An url to send API request in RhodeCode is
11 <your-server>/_admin/api
11
12
12
13
13 Clients need to send JSON data in such format::
14 Clients need to send JSON data in such format::
@@ -50,7 +51,7 b' remote repos upto date. This command can'
50 api_key
51 api_key
51
52
52 ::
53 ::
53
54 api_key:"<api_key>"
54 method: "pull"
55 method: "pull"
55 args: {"repo":<repo_name>}
56 args: {"repo":<repo_name>}
56
57
General Comments 0
You need to be logged in to leave comments. Login now