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.

Type
Message
{
    "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.

Type
Message
{
    "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.

Type
Message
{
    "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.

Type
Message

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.

Type
Message

Request

Response

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

stat

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

Type
Message

Message

CreatePostRequest

Field
Type
Required
Description

board_id

string

category

string

title

string

contents

string

writer

string

domain_id

string

GetPostRequest

Field
Type
Required
Description

board_id

string

post_id

string

only

list of string

domain_id

string

PostInfo

Field
Type
Description

board_id

string

post_id

string

category

string

title

string

contents

string

view_count

writer

string

scope

  • SYSTEM

  • DOMAIN

domain_id

string

user_id

string

user_domain_id

string

created_at

string

updated_at

string

PostQuery

Field
Type
Required
Description

board_id

string

post_id

string

category

string

writer

string

user_id

string

user_domain_id

string

domain_id

string

PostRequest

Field
Type
Required
Description

board_id

string

post_id

string

domain_id

string

PostStatQuery

Field
Type
Required
Description

domain_id

string

PostsInfo

Field
Type
Description

total_count

SendNotificationRequest

Field
Type
Required
Description

board_id

string

post_id

string

domain_id

string

UpdatePostRequest

Field
Type
Required
Description

board_id

string

post_id

string

category

string

title

string

contents

string

writer

string

domain_id

string

Last updated