The post objects describe community posts added to OfficeRnD.
You can retrieve an individual post as well as query all the posts by location, company or member.
Here is the list of the post object properties:
Post
Property | Type | Required | Description |
---|---|---|---|
type | string | true | The type of the post - currently the only supported type is info. |
description | string | true | The content of the post. |
locations | Location | true | An array of all locations for which this post is relevant. If you want to be for all locations - just pass an empty array [] |
url | string | false | The URL for the image included in the post headline. |
team | Company | false | A reference to the company that creates the post. |
member | Member | false | A reference to the member that creates the post. |
source | string | false | The origin/source of the post. |
createdAt | date | readonly | The date when the post has been created. |
createdBy | id | readonly | The user that created the post. |