Skip to content

Commit

Permalink
chore: generate openapi
Browse files Browse the repository at this point in the history
  • Loading branch information
veloii committed Oct 6, 2024
1 parent 1f1834c commit 65bf95e
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions content/docs/global-api/list-activity.mdx
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
---
title: List Activity
description: >
The `from` field does not work as you would expect, since this endpoint is
meant for pagination on the home page, Classcharts only returns a 50 points
from the `to` field.
To get more points you will need to make use of the `last_id` field. Our
[JavaScript Library](https://github.com/classchartsapi/classcharts-api-js)
provides a `client.getFullActivity()` helper function to do this for you.
description: Lists up to 50 activity points
full: true
_openapi:
method: GET
Expand All @@ -17,17 +9,7 @@ _openapi:
structuredData:
headings: []
contents:
- content: >
The `from` field does not work as you would expect, since this
endpoint is meant for pagination on the home page, Classcharts only
returns a 50 points from the `to` field.
To get more points you will need to make use of the `last_id` field.
Our [JavaScript
Library](https://github.com/classchartsapi/classcharts-api-js)
provides a `client.getFullActivity()` helper function to do this for
you.
- content: Lists up to 50 activity points
---

<APIPage document={"./openapi/clientapi.yaml"} operations={[{"path":"/activity/{studentId}","method":"get"}]} hasHead={false} />

0 comments on commit 65bf95e

Please sign in to comment.