Skip to content

Commit 4e8bab2

Browse files
Docs update
Signed-off-by: Łukasz Gryglicki <[email protected]>
1 parent 565f590 commit 4e8bab2

File tree

1 file changed

+14
-18
lines changed

1 file changed

+14
-18
lines changed

docs/Python_APIs.md

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -41,24 +41,22 @@
4141

4242
- `prod` analysis: `` DEBUG=1 NO_ECHO=1 STAGE=prod REGION=us-east-1 DTFROM='10 days ago' DTTO='1 second ago' OUT=api-logs-prod.json ./utils/search_aws_logs.sh 'LG:api-request-path' && jq -r '.[].message' api-logs-prod.json | grep -o 'LG:api-request-path:[^[:space:]]*' | sed 's/^LG:api-request-path://' | sed -E 's/[0-9a-fA-F-]{36}/<uuid>/g' | sed -E 's/\b[0-9]{2,}\b/<id>/g' | sort | uniq -c | sort -nr ``:
4343
```
44-
377727 /v2/github/activity
45-
1783 /v2/repository-provider/github/sign/<id>/<id>/<id>
46-
347 /v2/github/installation
47-
212 /v2/project/<uuid>
48-
211 /v2/user/<uuid>
49-
187 /v2/user/<uuid>/active-signature
50-
157 /v2/check-prepare-employee-signature
51-
146 /v2/return-url/<uuid>
52-
61 /v2/request-employee-signature
44+
529509 /v2/github/activity
45+
2572 /v2/repository-provider/github/sign/<id>/<id>/<id>
46+
534 /v2/github/installation
47+
332 /v2/project/<uuid>
48+
327 /v2/user/<uuid>
49+
296 /v2/user/<uuid>/active-signature
50+
234 /v2/return-url/<uuid>
51+
228 /v2/check-prepare-employee-signature
52+
89 /v2/request-employee-signature
5353
16 /v1/file/icon/seo/<uuid>.png
54-
8 /v2/gerrit/<uuid>/corporate/agreementUrl.html
55-
7 /v1/user/gerrit
54+
13 /v2/gerrit/<uuid>/corporate/agreementUrl.html
55+
9 /v1/user/gerrit
5656
2 /v2/health
57-
1 /v2/user-from-token
58-
1 /v2/repository-provider/github/icon.svg
5957
```
6058

61-
- `dev` analysis (but this can contain API calls made by developer and not actually used): `` DEBUG=1 STAGE=dev REGION=us-east-1 DTFROM='10 days ago' DTTO='1 second ago' OUT=api-logs-dev.json ./utils/search_aws_logs.sh 'LG:api-request-path' && jq -r '.[].message' api-logs-prod.json | grep -o 'LG:api-request-path:[^[:space:]]*' | sed 's/^LG:api-request-path://' | sed -E 's/[0-9a-fA-F-]{36}/<uuid>/g' | sed -E ':a;s#/([0-9]{1,})(/|$)#/<id>\2#g;ta' | sort | uniq -c | sort -nr ``:
59+
- `dev` analysis (but this can contain API calls made by developer and not actually used): `` DEBUG=1 STAGE=dev REGION=us-east-1 DTFROM='10 days ago' DTTO='1 second ago' OUT=api-logs-dev.json ./utils/search_aws_logs.sh 'LG:api-request-path' && jq -r '.[].message' api-logs-dev.json | grep -o 'LG:api-request-path:[^[:space:]]*' | sed 's/^LG:api-request-path://' | sed -E 's/[0-9a-fA-F-]{36}/<uuid>/g' | sed -E ':a;s#/([0-9]{1,})(/|$)#/<id>\2#g;ta' | sort | uniq -c | sort -nr ``:
6260
```
6361
113 /v2/project/<uuid>
6462
53 /v2/user/<uuid>
@@ -67,12 +65,10 @@
6765
13 /v2/repository-provider/github/sign/<id>/<id>/<id>
6866
12 /v2/user-from-token
6967
8 /v2/github/installation
70-
5 /v2/health
71-
1 /v2/users/company/abcd
72-
1 /v2/user-from-session
68+
6 /v2/health
7369
1 /v2/return-url/<uuid>
70+
1 /v2/gerrit/<uuid>/individual/agreementUrl.html
7471
1 /v2/check-prepare-employee-signature
75-
1 /v1/users/company/abcd
7672
```
7773

7874

0 commit comments

Comments
 (0)