Post

A Post is a message published on a Board. It also provides notifications to Projects affected by the Post.

Package : spaceone.api.board.v1

Post

Post Methods:

create

POST /board/v1/board/{board_id}/posts

Creates a new Post under a specific Board. You must specify the board_id, title, and contents. The parameter category is not required but can be set in the scope of categories specified in the parent Board. You can make the new Post pinned or pop up by adjusting the parameters.

TypeMessage

Request

Response

{
    "board_id": "board-123456789012",
    "category": "developer",
    "title": "title",
    "contents": "This is contents.",
    "options": {
        "is_popup": true
    },
    "writer": "user1",
    "domain_id": "domain-123456789012"
}

update

PUT /board/v1/board/{board_id}/post/{post_id}

Updates a specific Post. You can make changes in Post settings, except board_id, post_id, and domain_id.

TypeMessage

Request

Response

{
    "board_id": "board-123456789012",
    "post_id": "post-2118473ce15e",
    "category": "developer",
    "title": "title2",
    "contents": "this is contents2.",
    "options": {
        "is_popup": false,
        "is_pinned": true
    },
    "writer": "user1",
    "domain_id": "domain-123456789012"
}

send_notification

POST /board/v1/board/{board_id}/post/{post_id}/send-notification

Not Implemented

delete

DELETE /board/v1/board/{board_id}/post/{post_id}

Deletes a specific Post. You must specify the post_id of the Post to delete, and the board_id of the Board where the child Post to delete belongs.

TypeMessage

Request

Response

{
    "board_id": "board-b9aa34e65c60",
    "post_id": "post-2118473ce15e",
    "domain_id": "domain-123456789012"
}

get

GET /board/v1/board/{board_id}/post/{post_id}

Gets a specific Post. You must specify the post_id of the Post to get, and the board_id of the Board where the child Post to get belongs. Prints detailed information about the Post.

TypeMessage

Request

Response

{
    "board_id": "board-b9aa34e65c60",
    "post_id": "post-2118473ce15e",
    "domain_id": "domain-58010aa2e451"
}

list

GET /board/v1/board/{board_id}/posts

POST /board/v1/board/{board_id}/posts/search

Gets a list of all Posts. You can use a query to get a filtered list of Posts.

TypeMessage

Request

Response

{
    "board_id": "board-b9aa34e65c60",
    "query": {}
}

stat

POST /board/v1/board/{board_id}/posts/stat

TypeMessage

Request

Response

Message

CreatePostRequest

FieldTypeRequiredDescription

board_id

string

category

string

title

string

contents

string

options

writer

string

domain_id

string

GetPostRequest

FieldTypeRequiredDescription

board_id

string

post_id

string

only

list of string

domain_id

string

PostInfo

FieldTypeDescription

board_id

string

post_id

string

category

string

title

string

contents

string

options

view_count

writer

string

scope

  • SYSTEM

  • DOMAIN

domain_id

string

user_id

string

user_domain_id

string

created_at

string

updated_at

string

PostQuery

FieldTypeRequiredDescription

board_id

string

post_id

string

category

string

writer

string

user_id

string

user_domain_id

string

domain_id

string

query

PostRequest

FieldTypeRequiredDescription

board_id

string

post_id

string

domain_id

string

PostStatQuery

FieldTypeRequiredDescription

query

domain_id

string

PostsInfo

FieldTypeDescription

results

total_count

SendNotificationRequest

FieldTypeRequiredDescription

board_id

string

post_id

string

domain_id

string

UpdatePostRequest

FieldTypeRequiredDescription

board_id

string

post_id

string

category

string

title

string

contents

string

options

writer

string

domain_id

string

Last updated