NewsTypeCreate​

{} NewsTypeCreate
name
required
string
remark
string
keywords
required
array string[]
default: 
[ "tag1", "tag2", "tag3" ]

NewsTypeCreateOrUpdate​

{} NewsTypeCreateOrUpdate
name
required
string
remark
string
keywords
required
array string[]
default: 
[ "tag1", "tag2", "tag3" ]

NewsTypeTag​

{} NewsTypeTag
id
required
string uuid
keyword
required
string
news_type_id
required
string uuid
0.0.0
OAS 3.0.0

DPT56 API

Client Libraries
Shell
Ruby
Node.js
PHP
Python
C
More
Authentication
Bearer Authentication (BearerAuth)

Site Configurations​

Public: รายการแบนเนอร์​

/public/banners​

Get all banners

Responses
  • 200

    The request has succeeded.

GET/public/banners
Shell cURL
curl --request GET \
  --url https://dpt-openapi.finema.dev/public/banners
[
  {
    "id": "c667df88-4de8-442b-a64a-5fbce59086f0",
    "name": "…",
    "url": "…",
    "seq": 1,
    "file_title": "…",
    "file_name": "…",
    "file_path": "…",
    "file_size": 1,
    "video_url": "…",
    "start_date": "…",
    "end_date": "…",
    "created_at": "…",
    "created_by_id": "…",
    "updated_at": "…",
    "updated_by_id": "…"
  }
]

Public: รายการป็อปอัพ​

/public/popups​

Get all popups

Responses
  • 200

    The request has succeeded.

GET/public/popups
Shell cURL
curl --request GET \
  --url https://dpt-openapi.finema.dev/public/popups
[
  {
    "id": "c667df88-4de8-442b-a64a-5fbce59086f0",
    "name": "…",
    "url": "…",
    "seq": 1,
    "file_title": "…",
    "file_name": "…",
    "file_path": "…",
    "file_size": 1,
    "created_at": "…",
    "created_by_id": "…",
    "updated_at": "…",
    "updated_by_id": "…"
  }
]

Public: ข่าว ประเภทข่าว​

Backoffice: จัดการแบนเนอร์​

Backoffice: จัดการป็อปอัพ​

Backoffice: จัดการข่าว​

Backoffice: จัดการประเภทข่าว​