Post

A post is a container of information that lives on the map at coordinates (lat, lng).

Properties

Property NameProperty Type
base
Base layers that were visible when post was created.
Base
color
Color of the post.
(Red, Yellow, Green, Blue, Purple, Black)
String
(required)
coordinates
The location of the post at latitude and longitude.
Coordinates
(required)
id
The unique identifier of the Post.
ID
(required)
isPrivate
If true, this post is private, only visible to the creator.
Boolean
(required)
isPublic
If true, this post is visible to everyone on the project.
Boolean
(required)
manager
The user that can edit the post.
Assignee
(required)
messages
A list of messages that are visible in the posts feed when viewing the post's details.

Messages can contain attachments.
[Message]
(required)
number
A human-readable, unique number (1 to n), increments with each post on the project, starting at 1.
Int
(required)
permissions
View, Edit, or Manage permissions for each user on the project.
[PostPermission]
(required)
showOnLayers
The layers this post should show on.

When the user is viewing one of these layers, they can see this post on the map.

If none of these layers are visible, the post will not be visible on the map.
[Layer]
(required)
subject
A short description to provide context about the information contained within the post.
String
tags
A list of categories that can be attached to a post.

One can be primary.
[PostTag]
(required)
{
   "data":{
      "project":{
         "posts":[
            {
               "id":"07926ba5-70d5-4a31-96f6-9ed320d27c37",
               "color":"#FFAB00",
               "coordinates":{
                  "latitude":32.5436297879037,
                  "longitude":-96.36206888003021
               },
               "isPrivate":false,
               "isPublic":true,
               "manager":{
                  "userId":"4a112a3d-6cd7-4226-8d74-dd70157b9ddb"
               },
               "messages":[
                  {
                     "attachments":[
                        
                     ],
                     "author":{
                        "firstName":"Todd",
                        "lastName":"Wynne"
                     },
                     "authoredById":"4a112a3d-6cd7-4226-8d74-dd70157b9ddb",
                     "body":"created 360 Photo - 8-22-2020",
                     "createdAt":"2020-08-23T22:54:31.029Z",
                     "id":"646ab6fe-ee47-479f-aa38-e397679f2dc5",
                     "savedViews":[
                        {
                           "coordinates":{
                              "latitude":32.5436524785072,
                              "longitude":-96.3620348492891
                           },
                           "bearing":0,
                           "pitch":0,
                           "zoom":22.9499
                        }
                     ],
                     "source":"SYSTEM"
                  },
                  {
                     "attachments":[
                        {
                           "id":"e1373366-f2ed-4274-b084-d48a5cc6e56d",
                           "fileId":"SoOBNNziknWw7_dCzpLj9D04RFB-cxzD",
                           "fileName":"1.JPG"
                        }
                     ],
                     "author":{
                        "firstName":"Todd",
                        "lastName":"Wynne"
                     },
                     "authoredById":"4a112a3d-6cd7-4226-8d74-dd70157b9ddb",
                     "body":null,
                     "createdAt":"2020-08-23T22:54:31.033Z",
                     "id":"b5663853-14c1-454e-82ec-bd25108039e2",
                     "savedViews":[
                        
                     ],
                     "source":"USER"
                  },
                  {
                     "attachments":[
                        
                     ],
                     "author":{
                        "firstName":"Todd",
                        "lastName":"Wynne"
                     },
                     "authoredById":"4a112a3d-6cd7-4226-8d74-dd70157b9ddb",
                     "body":"{\"ops\":[{\"attributes\":{\"link\":\"https://kuula.co/post/7MFCD\"},\"insert\":\"https://kuula.co/post/7MFCD\"},{\"insert\":\"\\n\"}]}",
                     "createdAt":"2020-08-23T23:25:29.776Z",
                     "id":"9070daff-522a-471f-8eac-a17596089231",
                     "savedViews":[
                        
                     ],
                     "source":"USER"
                  }
               ],
               "number":56,
               "permissions":[
                  {
                     "assignee":{
                        "userId":"4a112a3d-6cd7-4226-8d74-dd70157b9ddb"
                     },
                     "scope":"MANAGE"
                  }
               ],
               "showOnLayers":[
                  {
                     "color":"#212121",
                     "discipline":{
                        "id":1,
                        "name":"Architectural"
                     },
                     "id":"7087",
                     "level":{
                        "id":88656,
                        "name":"Level 1"
                     },
                     "name":"Floor Plan"
                  }
               ],
               "subject":"360 Photo - 8-22-2020",
               "tags":[
                  {
                     "isPrimary":true,
                     "tag":{
                        "id":"bfb4ff5c-f156-4e9e-aedf-839d43c3a118",
                        "name":"Photos"
                     }
                  },
                  {
                     "isPrimary":false,
                     "tag":{
                        "id":"b6b6f768-b51e-40cc-ad16-40d74f4da8bd",
                        "name":"Jobsite Progress"
                     }
                  }
               ]
            }
         ]
      }
   }
}