##// END OF EJS Templates
docs: small rst fixes.
marcink -
r1856:25c48cf5 stable
parent child Browse files
Show More
@@ -5,6 +5,7 b' Use the following example to configure N'
5 5
6 6
7 7 .. code-block:: nginx
8
8 9 ## rate limiter for certain pages to prevent brute force attacks
9 10 limit_req_zone $binary_remote_addr zone=dl_limit:10m rate=1r/s;
10 11
@@ -38,13 +38,13 b' changeset_comment'
38 38
39 39 Example error output:
40 40
41 .. code-block:: json
41 .. code-block:: javascript
42 42
43 43 {
44 "id" : <id_given_in_input>,
44 "id" : "<id_given_in_input>",
45 45 "result" : {
46 46 "msg": "Commented on commit `<revision>` for repository `<repoid>`",
47 "status_change": null or <status>,
47 "status_change": null or "<status>",
48 48 "success": true
49 49 },
50 50 "error" : null
@@ -19,3 +19,8 b' Welcome to the contribution guides and d'
19 19 dev-settings
20 20 api
21 21 dependencies
22 checklist-tickets
23 checklist-pull-request
24 frontend
25 standards
26
@@ -35,7 +35,7 b' call for unspecified builds.'
35 35 A quick note on security. It's recommended to allow IP restrictions
36 36 to only allow RhodeCode server to trigger builds. If you need to
37 37 specify username and password this could be done by embedding it into a
38 trigger URL, e.g. `http://user:password@server.com/job/${project_id}
38 trigger URL, e.g. `http://user:password@server.com/job/${project_id}`
39 39
40 40
41 41 If users require to provide any custom parameters, they can be stored for each
@@ -52,3 +52,4 b' See pages specific to each type of integ'
52 52 jira
53 53 webhook
54 54 email
55 ci
@@ -48,14 +48,13 b' 5. Use the API to strip a commit, or num'
48 48
49 49 # Check the JSON-RPC verification
50 50
51 .. code-block:: jsonld
51 .. code-block:: javascript
52 52
53 53 {
54 54 "error": null,
55 55 "id": 5960,
56 56 "result": {
57 "msg": "Stripped commit ad1e0523a4ab from
58 repo `repo-group/repo-name`",
57 "msg": "Stripped commit ad1e0523a4ab from repo `repo-group/repo-name`",
59 58 "repository": "repo-group/repo-name"
60 59 }
61 60 }
General Comments 0
You need to be logged in to leave comments. Login now