Available Methods

Create a Property Video

POST https://www.relahq.com/api/v1/object/property_video

Headers

NameTypeDescription

TOKEN*

Your API Token

API-KEY*

Your API Key

content-type*

String

application/json

Request Body

NameTypeDescription

title*

String

The title of the object

property_reference*

String

The nid of the property this object is assigned to

branding*

String

"branded", "unbranded", "both", "hidden"

video_url*

String

An accessible Youtube/Vimeo url OR a publicly accessible url to an MP4 or MOV file.

make_cover_video

Bool

Whether this video should be a cover video

HTTP/1.1 200 OK 
#Example Response
{
  "nid": "9876",
}

Update a Property Video

PUT https://www.relahq.com/api/v1/object/property_video/{nid}

Example request for updating branding.

Path Parameters

NameTypeDescription

nid*

String

The Rela defined id representing the object

Headers

NameTypeDescription

content-type*

String

application/json

API-KEY*

String

Your API Key

TOKEN*

String

Your API Token

Request Body

NameTypeDescription

branding*

String

"branded", "unbranded", "both", "hidden"

HTTP/1.1 200 OK 
#Example Response
{
    "nid": "9876",
}

Retrieve a Property Video

GET https://www.relahq.com/api/v1/object/property_video/{nid}

Path Parameters

NameTypeDescription

nid*

String

The Rela defined id representing the object

Headers

NameTypeDescription

API-KEY*

String

Your API Key

TOKEN*

String

Your API Token

content-type*

String

application/json

Request Body

NameTypeDescription

branding*

String

"branded", "unbranded", "both", "hidden"

HTTP/1.1 200 OK 
#Example Response
{
  "nid": "9876",
  "title": "Video Title String"
  "created": 1640432564
  "changed": 1640032456
  "property_reference": "1234", 
  "video_url": "https://www.youtube.com/watch?v=234234502NRk",
  "branding": "branded",
  "make_cover_video": FALSE,
}

Delete a Property Video

DELETE https://www.relahq.com/api/v1/object/property_video/{nid}

Path Parameters

NameTypeDescription

nid*

String

The Rela defined id representing the object

Headers

NameTypeDescription

TOKEN*

Your API Token

API-KEY*

Your API Key

content-type*

String

application/json

HTTP/1.1 200 OK 
#Example Response
{
    [true],
}

Last updated