Name | Get Property Media Links |
---|---|
Description | Get the media's links of a property |
Method | GET |
URL | /properties/{property}/medialinks |
Example | /api/properties/11111111/medialinks | Access | EVERYONE |
Authorization | eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXUyJ9... |
---|---|
Fields | Type | Required | Description |
---|---|---|---|
property | number | yes | Property id |
[
{
"id": 21493,
"link": "https://youtu.be/BzMLA8YIgG0",
"description": "",
"type": "video"
},
{
"id": 21494,
"link": "https://www.homeescape.com/",
"description": "",
"type": "web"
},
{
"id": 21495,
"link": "https://www.telxcomputers.com/",
"description": "",
"type": "web"
},
{
"id": 21496,
"link": "https://www.telxweb.com/",
"description": "",
"type": "web"
}
]
Code | Message | Cause | Possible Frontend Message [Behavior] |
---|---|---|---|
EC000 |
Internal error in API |
Internal error connecting the database | "Oops! Looks like we hit a snag. Try closing the app and reopening it." |
EC001 |
User not found |
Token user id doesn't match our records | "Sorry, We couldn't find your information!" |
EC002 |
Property not found |
Property id doesn't match our records | "Sorry, We couldn't find that property!" |
SC006 |
User no authorization |
The token role is not valid for using the API services | "You have been logged out." - [Take the user to the login screen] |
SC014 |
Expired token |
The token has expired | "You have been logged out." - [Take the user to the login screen] |
VID112 |
Invalid input for property |
Property id is not a number | [Call the API again using a valid value for property id] |