-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ajouter les guillemets manquant au json de la doc (#3952)
- Loading branch information
Showing
4 changed files
with
32 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -112,9 +112,9 @@ Pragma: no-cache | |
{ | ||
"access_token":"*****************", | ||
"token_type":"bearer", | ||
user: { | ||
email: "[email protected]", | ||
name: "Foo Bar" | ||
"user": { | ||
"email": "[email protected]", | ||
"name": "Foo Bar" | ||
} | ||
} | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -101,39 +101,39 @@ La requête doit être authentifiée, 2 méthodes sont possibles : | |
|
||
```json | ||
{ | ||
name: "Jean Dupont", | ||
phone: "06876543", | ||
email: "[email protected]", | ||
email_verified: true, | ||
companies: [ | ||
"name": "Jean Dupont", | ||
"phone": "06876543", | ||
"email": "[email protected]", | ||
"email_verified": true, | ||
"companies": [ | ||
{ | ||
id: "wxcgh123", | ||
role: "ADMIN", | ||
siret: "1234", | ||
vat_number: null, | ||
name: "une entreprise A", | ||
given_name: "Succursale Marseille", | ||
types: ["PRODUCER"], | ||
verified: true | ||
"id": "wxcgh123", | ||
"role": "ADMIN", | ||
"siret": "1234", | ||
"vat_number": null, | ||
"name": "une entreprise A", | ||
"given_name": "Succursale Marseille", | ||
"types": ["PRODUCER"], | ||
"verified": true | ||
}, | ||
|
||
{ | ||
id: "mlkj953", | ||
role: "MEMBER", | ||
siret: "9876", | ||
vat_number: null, | ||
name: "une entreprise B", | ||
given_name: "Succursale Rouen", | ||
types: ["COLLECTOR", "WASTEPROCESSOR"], | ||
verified: false | ||
"id": "mlkj953", | ||
"role": "MEMBER", | ||
"siret": "9876", | ||
"vat_number": null, | ||
"name": "une entreprise B", | ||
"given_name": "Succursale Rouen", | ||
"types": ["COLLECTOR", "WASTEPROCESSOR"], | ||
"verified": false | ||
} | ||
], | ||
nonce: "CYCTdEHKQAqB2ahOVWiOFSMbjdxUhGBb", | ||
iat: 1672650576, | ||
iss: "trackdechets", | ||
aud: "your-app", | ||
exp: 1672654176, | ||
sub: "ck03yr7q000di0728m7uwhc1i" | ||
"nonce": "CYCTdEHKQAqB2ahOVWiOFSMbjdxUhGBb", | ||
"iat": 1672650576, | ||
"iss": "trackdechets", | ||
"aud": "your-app", | ||
"exp": 1672654176, | ||
"sub": "ck03yr7q000di0728m7uwhc1i" | ||
}; | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters