Skip to content

Commit

Permalink
Add Sapio results documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanklee committed Jan 19, 2024
1 parent bc56d92 commit 2091c5d
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,12 @@ https://sapio.ovh/api
- Method: GET
- Description: List evaluations
- Parameters: https://docs.strapi.io/dev-docs/api/rest/parameters
- Result: https://docs.strapi.io/dev-docs/api/rest#requests
- Result:
- https://docs.strapi.io/dev-docs/api/rest#requests
- attributes:
- microg: 1 for microG, 2 for bareAOSP
- rooted: 3 for user, 4 for root
- rating: 1 for green, 2 for yellow, 3 for red
- Example: Get the latest 100 evaluations
```
Expand All @@ -55,7 +60,12 @@ curl -X GET "https://sapio.ovh/api/sapio-applications?pagination\[pageSize\]=100
- Method: GET
- Description: Search evaluations
- Parameters: https://docs.strapi.io/dev-docs/api/rest/filters-locale-publication#filtering
- Result: https://docs.strapi.io/dev-docs/api/rest#requests
- Result:
- https://docs.strapi.io/dev-docs/api/rest#requests
- attributes:
- microg: 1 for microG, 2 for bareAOSP
- rooted: 3 for user, 4 for root
- rating: 1 for green, 2 for yellow, 3 for red
- Example: Search evaluations for an app called ChatGPT
```
curl -X GET "https://sapio.ovh/api/sapio-applications?filters\[name\]\[\$eq\]=ChatGPT"
Expand Down

0 comments on commit 2091c5d

Please sign in to comment.