-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathendpoints.http
55 lines (44 loc) · 1.65 KB
/
endpoints.http
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
//@baseUrl = http://localhost:6400/
@baseUrl = http://54.205.207.116:6400
### Health
GET {{baseUrl}}/api/v1/health
### List All Todos
GET {{baseUrl}}/api/v1/customers/11111111-1111-1111-1111-111111111111/emails?start=2024-03-24T12:13:37%2B00:00
### List All Todos
GET {{baseUrl}}/api/v1/customers/11111111-1111-1111-1111-111111111111/emails?start=2024-03-24T12:13:37%2B00:00&end=2024-03-24T12:53:00%2B00:00
### List All Todos
GET {{baseUrl}}/api/v1/customers/11111111-1111-1111-1111-111111111111/emails
### Get a specific Todo
GET {{baseUrl}}/api/v1/customers/11111111-1111-1111-1111-111111111111/emails/69cd3441-0e9b-42b9-9cf0-ea5e89043583
### Create a Todo
POST {{baseUrl}}/api/v1/customers/11111111-1111-1111-1111-111111111111/emails
Content-Type: application/json
{
"contents":{
"to": "[email protected]",
"from":"[email protected]",
"subject":"AAAAAAAABBBB",
"body":"tonight is link time http://uq.wicked/nasty thats the link or https://uq.wicked?nasty"
},
"metadata":{
"spamhammer":"1|14"
}
}
### Actors
GET {{baseUrl}}/api/v1/customers/blean/reports/actors
### Domains
GET {{baseUrl}}/api/v1/customers/blean/reports/domains
### Actors
GET {{baseUrl}}/api/v1/customers/blean/reports/recipients
###something
POST {{baseUrl}}/api/v1/todos/ical
Content-Type: application/json
{
"task_id": "2e80aefd-4a69-4a94-b23a-45f2b8110988",
"task_url": "http://localhost:6400/api/v1/todos/ical/2e80aefd-4a69-4a94-b23a-45
f2b8110988/status"
}
### Actors
GET {{baseUrl}}/api/v1/todos/ical/558fd8b5-1dcb-4365-9596-c507ec66ff24/status
### Actors
GET {{baseUrl}}/api/v1/todos/ical/558fd8b5-1dcb-4365-9596-c507ec66ff24/result