Skip to content

Commit b0f01ad

Browse files
committed
Rename all
1 parent b534968 commit b0f01ad

15 files changed

+73
-73
lines changed

pages/api.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,9 @@ endpoint_sections:
123123
id: reviews
124124
layout: /reviews/reviews.yml
125125
-
126-
title: Safeguarding Issues
127-
id: safeguarding-issues
128-
layout: /safeguarding-issues/safeguarding-issues.yml
126+
title: Wellbeing Concerns
127+
id: wellbeing-concerns
128+
layout: /wellbeing-concerns/wellbeing-concerns.yml
129129
-
130130
title: Services (Jobs)
131131
id: services

pages/safeguarding-issues/get-a-safeguarding-issue.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

pages/safeguarding-issues/get-a-safeguarding-issue.py

Lines changed: 0 additions & 5 deletions
This file was deleted.

pages/safeguarding-issues/list-all-safeguarding-issues.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

pages/safeguarding-issues/safeguarding-issue-object.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

pages/safeguarding-issues/safeguarding-issues.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

pages/safeguarding-issues/get-a-safeguarding-issue.json renamed to pages/wellbeing-concerns/get-a-wellbeing-concern.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": 2,
3-
"display_name": "SGI-2",
3+
"display_name": "WBC-2",
44
"status": "Unresolved",
55
"severity": "Severe",
66
"dt_raised": "2025-04-14T16:26:44.286782+01:00",
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
### Get a Wellbeing Concern
2+
3+
Returns the details of an existing Wellbeing Concern. You only need to specify the unique `id` of
4+
the Wellbeing Concern to get the correct details.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import pprint, requests
2+
3+
headers = {'Authorization': 'token <API KEY>'}
4+
r = requests.get('https://secure.tutorcruncher.com/api/wellbeing_concerns/<id>/', headers=headers)
5+
pprint.pprint(r.json())

pages/safeguarding-issues/list-all-safeguarding-issues.json renamed to pages/wellbeing-concerns/list-all-wellbeing-concerns.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"results": [
66
{
77
"id": 2,
8-
"display_name": "SGI-2",
8+
"display_name": "WBC-2",
99
"status": "Unresolved",
1010
"severity": "Severe",
1111
"service_recipient": {
@@ -17,11 +17,11 @@
1717
},
1818
"dt_raised": "2025-04-14T16:26:44.286782+01:00",
1919
"dt_resolved": null,
20-
"url": "https://secure.tutorcruncher.com/api/safeguarding_issues/2/"
20+
"url": "https://secure.tutorcruncher.com/api/wellbeing_concerns/2/"
2121
},
2222
{
2323
"id": 1,
24-
"display_name": "SGI-1",
24+
"display_name": "WBC-1",
2525
"status": "Unresolved",
2626
"severity": "Severe",
2727
"service_recipient": {
@@ -33,7 +33,7 @@
3333
},
3434
"dt_raised": "2025-04-14T16:03:50.310174+01:00",
3535
"dt_resolved": null,
36-
"url": "https://secure.tutorcruncher.com/api/safeguarding_issues/1/"
36+
"url": "https://secure.tutorcruncher.com/api/wellbeing_concerns/1/"
3737
}
3838
]
3939
}

0 commit comments

Comments
 (0)