Carnet de liaison / Perso
Lister les messages de son carnet de liaison depuis un accès tier
Lister les message du carnet de soin accessibles aux membres d'une organisation aidante (association, sap, siap)
basePath: /api/v0/organisations/:organisation_id/care_notebooks/:helped_organisation_id/care_notebooks
params
- :organisation_id (integer, required): identifiant de l'organisation aidante (ex: Sognons humain, Visitatio)
- :helped_organisation_id (integer, required): identifiant de l'organisation aidé (ex: Alexis & margaux)
curl
curl -X GET \
https://twigy-server.herokuapp.com/api/v0/organisations/166/care_notebooks/131/care_notebooks
reponse
{
"posts":[
{
"raw":"pif",
"id":758,
"created_at":"2019-05-13T14:30:12.865Z",
"helper":{
"id":379,
"first_name":"Sophie",
"last_name":"Finot",
"username":null,
"avatar_url":"https://wello-avatars.s3.eu-west-1.amazonaws.com/100f003a-7ae7-4813-8000-d55cffec13de?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIFHIDDRASE7SKTXQ%2F20190521%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20190521T151002Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=0248719fb710b43ae367bc7f12b2347ba3178e71856f24e618573d40000e450d"
},
"helper_id":379,
"access_ids":[
"166"
],
"file_url":null,
"posts":[
]
},
]
}