Skip to content

Commit 65bf95e

Browse files
committed
chore: generate openapi
1 parent 1f1834c commit 65bf95e

File tree

1 file changed

+2
-20
lines changed

1 file changed

+2
-20
lines changed

Diff for: content/docs/global-api/list-activity.mdx

+2-20
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
---
22
title: List Activity
3-
description: >
4-
The `from` field does not work as you would expect, since this endpoint is
5-
meant for pagination on the home page, Classcharts only returns a 50 points
6-
from the `to` field.
7-
8-
9-
To get more points you will need to make use of the `last_id` field. Our
10-
[JavaScript Library](https://github.com/classchartsapi/classcharts-api-js)
11-
provides a `client.getFullActivity()` helper function to do this for you.
3+
description: Lists up to 50 activity points
124
full: true
135
_openapi:
146
method: GET
@@ -17,17 +9,7 @@ _openapi:
179
structuredData:
1810
headings: []
1911
contents:
20-
- content: >
21-
The `from` field does not work as you would expect, since this
22-
endpoint is meant for pagination on the home page, Classcharts only
23-
returns a 50 points from the `to` field.
24-
25-
26-
To get more points you will need to make use of the `last_id` field.
27-
Our [JavaScript
28-
Library](https://github.com/classchartsapi/classcharts-api-js)
29-
provides a `client.getFullActivity()` helper function to do this for
30-
you.
12+
- content: Lists up to 50 activity points
3113
---
3214

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

0 commit comments

Comments
 (0)