User:Brett Wuth/Running Notes/2016-04
From PCSAR
Contents |
[edit] 2016-04-02
https://pcsar.ca.d4h.org/team/settings
Turned off the following modules which we don't use. By having them off hope to simplify user interface and avoid potential use by members that don't understand how we are integrating data with that on the wiki.
https://pcsar.ca.d4h.org/team/settings/modules/communication
https://pcsar.ca.d4h.org/team/settings/modules/collaboration
https://pcsar.ca.d4h.org/team/settings/modules/equipment
https://pcsar.ca.d4h.org/team/settings/modules/resources
https://pcsar.ca.d4h.org/team/settings/modules/whiteboard
Other modules
https://pcsar.ca.d4h.org/team/settings/custom-fields/exercise
Deleted D4HExerciseID -- it's implicit in the URL. Duplication as a custom user field is unnecessary and creates a potential area for data to be out of sync.
https://api.ca.d4h.org/v2/documentation#!/{activities}/v2teamactivities_post_1
post /v2/team/{activities}
Create an activity
Parameters Parameter Value Description Parameter Type Data Type activities path string access_token Bearer authentication token query string ref Unique code for report form string title Title of report form string * required "Test exercise 2" activity The type of the activity form string "exercise" date Start of when activity happened form date * required "2013-01-02T16:00:00.000Z" enddate Time when activity ended form date * required "2013-01-02T16:00:00.000Z" description Description of the activity form string streetaddress Street address of the activity location form string townaddress Town address of the activity location form string regionaddress Reagion address of the activity location form string postcodeaddress Post Code address of the activity location form string countryaddress Country in which the activity was based in form string lat Lattitude address of the activity location form number lng Longitude address of the activity location form number distance Distance from base form number
Request URL
https://api.ca.d4h.org:443/v2/team/exercises
Response Body
{
"statusCode": 200, "data": { "id": 34673, "team_id": 332, "tracking_number": null, "published": 0, "date": "2013-01-02T16:00:00.000Z", "pretasked": 0, "tasked_mobile": 0, "enddate": "2013-01-01T16:00:00.000Z", "ref": "08975 Test exercise 2", "ref_autoid": "08975", "ref_desc": "Test exercise 2", "description": "", "plan": null, "location_bookmark_id": null, "latlng": null, "lat": null, "lng": null, "distance": 0, "bearing": null, "activity": "exercise", "perc_attendance": 0, "count_attendance": 0, "count_guests": 0, "night": 0, "streetaddress": "", "townaddress": "", "regionaddress": "", "postcodeaddress": "", "countryaddress": "", "gridref": "" }, "meta": {}
}
Response Code
200
Response Headers
{
"Date": "Sat, 02 Apr 2016 20:36:16 GMT", "Vary": "origin,accept-encoding", "Access-Control-Allow-Origin": "*", "Access-Control-Max-Age": "86400", "Access-Control-Allow-Methods": "GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS", "Access-Control-Allow-Headers": "Authorization, Content-Type, If-None-Match", "Access-Control-Expose-Headers": "WWW-Authenticate, Server-Authorization", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Strict-Transport-Security": "max-age=15768000", "Keep-Alive": "timeout=15, max=100", "Connection": "Keep-Alive", "Transfer-Encoding": "chunked"
}
[edit] 2016-04-04
documents:
[edit] 2016-04-05
documents:
- 2016-03-01 board meeting minutes - wuth notes
- 2016-04-05 board meeting - wuth notes
- 2016-03-31 Administrator work log
- 2016-01 Administrator invoice $126.00
- 2016-02 Administrator invoice $255.77
- 2016-03 Administrator invoice $1058.69
[edit] 2016-04-10
documents:
[edit] 2016-04-15
documents:
- 2016-04-04 2016-2017 training grant signed all parties
- 2016-04-04 2016-2017 training grant signed all parties
- 2016-04-04 2016-2017 training grant signed all parties
- 2016-04-04 2016-2017 training grant signed all parties
- 2016-04-15 H2S Alive expiry notice - Brett Wuth
[edit] 2016-04-16
documents:
- 2016-02-24 CISM team mtg notes - wuth
- 2016-03-08 mtg President, Administrator - wuth note
- ICS 204 form
- 2016-04-05 board meeting - wuth notes
[edit] 2016-04-17
Testing if there's a timeout in how long can be in edit before saving. This edit started at 19:21. I read on some googling that PHP has a default time out for sessions of 24 minutes. It's now 20:00, so I'll try saving.
It worked.
documents:
- 2016-04-17 Administrator contract - signed
- 2016-04-17 President, Administrator mtg - wuth notes
- throw bags - product tags
- throw bags - product tags
- throw bags - product tags
- throw bags - product tags
- throw bags accessioning notes
- MEC shipping slip
- Crag gloves product tags
- Crag gloves product tags
- Crag gloves product tags
[edit] 2016-04-18
documents:
- Fox 40 whistles - product tags
- Fox 40 whistles - product tags
- wet socks - product tags
- cord - product tags
- webbing - product tags
- Image:Members:2016-04-18 phone.com statement.pdf
[edit] 2016-04-19
documents:
[edit] 2016-04-20
documents:
- 2016-04-20 reconciliation report, cheques cleared
- AgCom invoice of NSF cheque
- MEC shipping slip
- Crag Gloves - product tags
[edit] 2016-04-21
documents:
- 2016-04-21 AGLC GAIN - wuth notes action
- 2016-04-21 AGLC GAIN - wuth notes action
- 2016-04-21 AGLC GAIN - wuth notes action
- 2016-04-21 AGLC GAIN - wuth notes action
- 2016-04-21 AGLC GAIN - wuth notes
- 2016-04-21 AGLC GAIN - wuth notes
- 2016-04-21 AGLC GAIN - wuth notes
- 2016-04-21 AGLC GAIN - wuth notes
- 2016-04-21 AGLC GAIN - wuth notes
- 2016-04-21 AGLC GAIN - wuth notes
- 2016-04-21 AGLC GAIN - wuth notes
- 2016-04-21 AGLC GAIN - wuth notes
- 2016-04-21 AGLC GAIN - wuth notes
- 2016-04-21 AGLC GAIN - wuth notes
- 2016-04-21 AGLC GAIN - wuth notes
- 2016-04-21 AGLC GAIN - handouts
- 2016-04-21 AGLC GAIN - handouts
- 2016-04-21 AGLC GAIN - handouts
- 2016-04-21 AGLC GAIN - handouts
- 2016-04-21 AGLC GAIN - handouts
- 2016-04-21 rope rescue minutes
[edit] 2016-04-27
documents: