Skip to content

Commit c85da74

Browse files
committed
henrys comment
1 parent 5188104 commit c85da74

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

pages/subjects/create-a-subject.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": 168,
3-
"name": "Statistic",
3+
"name": "Statistics",
44
"category_id": 14,
55
"category_name": "Science",
66
"custom_to_branch": true

pages/subjects/create-a-subject.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import pprint, requests
2-
data = {"name": "Statistic", "category":14}
2+
data = {"name": "Statistics", "category":14}
33
headers = {'Authorization': 'token <API KEY>'}
44
r = requests.post('https://secure.tutorcruncher.com/api/subjects/',json=data, headers=headers)
55
pprint.pprint(r.json())

pages/subjects/get-a-subject.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": 168,
3-
"name": "Statistic",
3+
"name": "Statistics",
44
"category_id": 14,
55
"category_name": "Science",
66
"custom_to_branch": true
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
### List all Subjects
22

3-
Returns all Subjects, sorted by `id` in descending order (highest first). Includes Subjects associated with your Branch, as well as unassigned Subjects (`custom_to_branch` = null).
3+
Returns all Subjects, sorted by `id` in descending order (highest first). Includes Subjects associated with your Branch, as well as default Subjects (`custom_to_branch` = null).

pages/subjects/subject-object.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ attributes:
1818
-
1919
name: custom_to_branch
2020
type: bool
21-
description: Indicates whether the Subject is specific to your Branch (True), or shared across all Branches (null).
21+
description: Indicates whether the Subject is specific to your Branch (True), or is a default subject (null).
2222

0 commit comments

Comments
 (0)