사용자
Cernium/ACLGroup/api(r5판 Blame)
| r5 | ||
|---|---|---|
| r1 | 1 | [include(틀:상위 문서, 문서명1=사용자:Cernium/ACLGroup)] |
| 2 | ---- | |
| 3 | {{{GET /api/v0/aclgroup}}} | |
| 4 | {{{PUT /api/v0/aclgroup}}} | |
| r2 | 5 | {{{DELETE /api/v0/aclgroup}}} |
| 6 | ||
| r3 | 7 | https://theseed.io/thread/YummyGiganticBrashDistribution |
| r4 | 8 | [[https://theseed.io/thread/YummyGiganticBrashDistribution|#]] |
| 9 | ||
| r5 | 10 | https://theseed.io/internal/admin/thread/YummyGiganticBrashDistribution/hide |
| 11 | ||
| 12 | == 추가 == | |
| 13 | {{{#!syntax python | |
| 14 | headers = { | |
| 15 | 'Authorization': 'Bearer API_TOKEN_HERE', | |
| 16 | } | |
| 17 | data = { | |
| 18 | 'group': '경고-테스트', | |
| 19 | 'username': 'Cernium', | |
| 20 | 'note': 'api test', | |
| 21 | 'expire': '20', | |
| 22 | 'mode': 'username', | |
| 23 | } | |
| 24 | response = requests.post('https://theseed.io/api/v0/aclgroup', headers=headers, data=data) | |
| 25 | }}} |