SpaceONE APIs
Latest Version
Latest Version
  • README
  • Board
    • V1
      • Board
      • Post
  • Config
    • V1
      • Domain Config
      • User Config
  • Core
    • V1
      • Handler
      • Query
      • Server Info
  • Cost Analysis
    • Plugin
      • Cost
      • Data Source
      • Job
    • V1
      • Budget
      • Budget Usage
      • Cost
      • Cost Query Set
      • Custom Widget
      • Data Source
      • Data Source Rule
      • Exchange Rate
      • Job
      • Job Task
      • Public Dashboard
      • Schedule
      • User Dashboard
  • Identity
    • Plugin
      • Auth
    • V1
      • Api Key
      • Authorization
      • Domain
      • Domain Owner
      • Endpoint
      • Policy
      • Project
      • Project Group
      • Provider
      • Role
      • Role Binding
      • Service Account
      • Token
      • User
  • Inventory
    • Plugin
      • Collector
    • V1
      • Change History
      • Cloud Service
      • Cloud Service Type
      • Collector
      • Job
      • Job Task
      • Note
      • Region
      • Resource Group
      • Server
  • Monitoring
    • Plugin
      • Data Source
      • Event
      • Log
      • Metric
      • Webhook
    • V1
      • Alert
      • Data Source
      • Escalation Policy
      • Event
      • Event Rule
      • Log
      • Maintenance Window
      • Metric
      • Note
      • Project Alert Config
      • Webhook
  • Notification
    • Plugin
      • Notification
      • Protocol
    • V1
      • Notification
      • Notification Usage
      • Project Channel
      • Protocol
      • Quota
      • User Channel
  • Plugin
    • V1
      • Plugin
      • Supervisor
  • Repository
    • V1
      • Plugin
      • Policy
      • Repository
      • Schema
  • Sample
    • V1
      • Helloworld
  • Secret
    • V1
      • Secret
      • Secret Group
  • Statistics
    • Plugin
      • Storage
    • V1
      • History
      • Resource
      • Schedule
      • Storage
Powered by GitBook
On this page
  • Post
  • create
  • update
  • send_notification
  • delete
  • get
  • list
  • stat
  • Message
  • CreatePostRequest
  • GetPostRequest
  • PostInfo
  • PostQuery
  • PostRequest
  • PostStatQuery
  • PostsInfo
  • SendNotificationRequest
  • UpdatePostRequest

Was this helpful?

  1. Board
  2. V1

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:

Method
Request
Response

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

Request

Response

{
    "board_id": "board-123456789012",
    "category": "developer",
    "title": "title",
    "contents": "This is contents.",
    "options": {
        "is_popup": true
    },
    "writer": "user1",
    "domain_id": "domain-123456789012"
}
{
    "board_id": "board-123456789012",
    "post_id": "post-123456789012",
    "category": "developer",
    "title": "title",
    "contents": "This is contents.",
    "options": {
        "is_pinned": false,
        "is_popup": true
    },
    "view_count": 0,
    "writer": "user1",
    "scope": "DOMAIN",
    "domain_id": "domain-123456789012",
    "user_id": "user1@email.com",
    "created_at": "2022-01-01T01:06:23.732Z",
    "updated_at": "2022-01-01T01:06:23.732Z"
}

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

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"
}
{
    "board_id": "board-123456789012",
    "post_id": "post-123456789012",
    "category": "developer",
    "title": "title2",
    "contents": "this is contents2.",
    "options": {
        "is_popup": false,
        "is_pinned": true
    },
    "view_count": 1,
    "writer": "user1",
    "scope": "DOMAIN",
    "domain_id": "domain-123456789012",
    "user_id": "user1@email.com",
    "created_at": "2022-06-13T01:06:23.732Z",
    "updated_at": "2022-06-13T01:06:23.732Z"
}

send_notification

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

Not Implemented

Type
Message

Request

Response

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

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.

Type
Message

Request

Response

{
    "board_id": "board-b9aa34e65c60",
    "post_id": "post-2118473ce15e",
    "domain_id": "domain-58010aa2e451"
}
{
    "board_id": "board-b9aa34e65c60",
    "post_id": "post-2118473ce15e",
    "category": "flower",
    "title": "title",
    "contents": "this is contents.",
    "options": {
        "is_pinned": false,
        "is_popup": true
    },
    "view_count": 2,
    "writer": "seolmin",
    "scope": "DOMAIN",
    "domain_id": "domain-58010aa2e451",
    "user_id": "supervisor",
    "created_at": "2022-06-13T01:06:23.732Z",
    "updated_at": "2022-06-13T01:06:23.732Z"
}

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": {}
}
{
    "results": [
        {
            "board_id": "board-b9aa34e65c60",
            "post_id": "post-2118473ce15e",
            "category": "spaceone",
            "title": "title2",
            "contents": "this is contents2.",
            "options": {
                "is_popup": false,
                "is_pinned": true
            },
            "view_count": 3,
            "writer": "seolmin2",
            "scope": "DOMAIN",
            "domain_id": "domain-58010aa2e451",
            "user_id": "user1@email.com",
            "created_at": "2022-06-13T01:06:23.732Z",
            "updated_at": "2022-06-13T01:06:23.732Z"
        },
        {
            "board_id": "board-b9aa34e65c60",
            "post_id": "post-532ae1191233",
            "category": "flower",
            "title": "\uc791\uc5c5\uacf5\uc9c0",
            "contents": "This is description",
            "options": {
                "is_pinned": true,
                "is_popup": true
            },
            "writer": "\uad8c\uc124\ubbfc",
            "user_id": "supervisor",
            "created_at": "2022-06-10T07:01:44.384Z",
            "updated_at": "2022-06-10T07:01:44.384Z"
        }
    ],
    "total_count": 2
}

stat

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

Type
Message

Request

Response

Message

CreatePostRequest

Field
Type
Required
Description

board_id

string

✔

category

string

✘

title

string

✔

contents

string

✔

options

✘

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

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

Field
Type
Required
Description

board_id

string

✔

post_id

string

✘

category

string

✘

writer

string

✘

user_id

string

✘

user_domain_id

string

✘

domain_id

string

✘

query

✘

PostRequest

Field
Type
Required
Description

board_id

string

✔

post_id

string

✔

domain_id

string

✘

PostStatQuery

Field
Type
Required
Description

query

✔

domain_id

string

✔

PostsInfo

Field
Type
Description

results

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

✘

options

✘

writer

string

✘

domain_id

string

✘

PreviousBoardNextConfig

Last updated 2 years ago

Was this helpful?

google.protobuf.Empty
google.protobuf.Empty
google.protobuf.Struct
google.protobuf.Empty
google.protobuf.Empty
google.protobuf.Struct
google.protobuf.Struct
google.protobuf.Struct
int32
spaceone.api.core.v1.Query
spaceone.api.core.v1.StatisticsQuery
int32
google.protobuf.Struct
create
CreatePostRequest
PostInfo
update
UpdatePostRequest
PostInfo
send_notification
SendNotificationRequest
delete
PostRequest
get
GetPostRequest
PostInfo
list
PostQuery
PostsInfo
stat
PostStatQuery
CreatePostRequest
PostInfo
UpdatePostRequest
PostInfo
SendNotificationRequest
PostRequest
GetPostRequest
PostInfo
PostQuery
PostsInfo
PostStatQuery
list of PostInfo