GET api/misc/news?user_uid={user_uid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
user_uid

integer

None.

Body Parameters

None.

Response Information

Resource Description

Collection of YSHNewsDataModel
NameDescriptionTypeAdditional information
news_uid

integer

None.

news_title

string

Required

news_content

string

Required

news_create_date

date

None.

news_update_date

date

None.

is_deleted

boolean

None.

is_pushed

boolean

None.

application_uid

integer

None.

tags

Collection of GCSTagDataModel

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "news_uid": 1,
    "news_title": "sample string 2",
    "news_content": "sample string 3",
    "news_create_date": "2018-01-22T13:00:27.4386502+08:00",
    "news_update_date": "2018-01-22T13:00:27.4386502+08:00",
    "is_deleted": true,
    "is_pushed": true,
    "application_uid": 8,
    "tags": [
      {
        "tag_uid": 1,
        "tag_title": "sample string 2",
        "tag_category": "sample string 3",
        "application_uid": 4
      },
      {
        "tag_uid": 1,
        "tag_title": "sample string 2",
        "tag_category": "sample string 3",
        "application_uid": 4
      }
    ]
  },
  {
    "news_uid": 1,
    "news_title": "sample string 2",
    "news_content": "sample string 3",
    "news_create_date": "2018-01-22T13:00:27.4386502+08:00",
    "news_update_date": "2018-01-22T13:00:27.4386502+08:00",
    "is_deleted": true,
    "is_pushed": true,
    "application_uid": 8,
    "tags": [
      {
        "tag_uid": 1,
        "tag_title": "sample string 2",
        "tag_category": "sample string 3",
        "application_uid": 4
      },
      {
        "tag_uid": 1,
        "tag_title": "sample string 2",
        "tag_category": "sample string 3",
        "application_uid": 4
      }
    ]
  }
]