NEWS

GET /api/v1/main/news

get
Authorizations
Responses
200

Successful response

application/json
Responseobject
get
GET /api/v1/main/news HTTP/1.1
Host: api.dovafm.xyz
X-API-Key: YOUR_API_KEY
Accept: */*
200

Successful response

{
  "status": "ok"
}

GET /api/v1/main/news/<article_id>

get
Authorizations
Path parameters
article_idstringRequired

Path parameter article_id

Responses
200

Successful response

application/json
Responseobject
get
GET /api/v1/main/news/{article_id} HTTP/1.1
Host: api.dovafm.xyz
X-API-Key: YOUR_API_KEY
Accept: */*
200

Successful response

{
  "status": "ok"
}

PUT /api/v1/main/news/<article_id>

put
Authorizations
Path parameters
article_idstringRequired

Path parameter article_id

Responses
200

Successful response

application/json
Responseobject
put
PUT /api/v1/main/news/{article_id} HTTP/1.1
Host: api.dovafm.xyz
X-API-Key: YOUR_API_KEY
Accept: */*
200

Successful response

{
  "status": "ok"
}

GET /api/v1/main/news/categories

get
Authorizations
Responses
200

Successful response

application/json
Responseobject
get
GET /api/v1/main/news/categories HTTP/1.1
Host: api.dovafm.xyz
X-API-Key: YOUR_API_KEY
Accept: */*
200

Successful response

{
  "status": "ok"
}

GET /api/v1/main/news/reporters

get
Authorizations
Responses
200

Successful response

application/json
Responseobject
get
GET /api/v1/main/news/reporters HTTP/1.1
Host: api.dovafm.xyz
X-API-Key: YOUR_API_KEY
Accept: */*
200

Successful response

{
  "status": "ok"
}

GET /api/v1/main/news/stats

get
Authorizations
Responses
200

Successful response

application/json
Responseobject
get
GET /api/v1/main/news/stats HTTP/1.1
Host: api.dovafm.xyz
X-API-Key: YOUR_API_KEY
Accept: */*
200

Successful response

{
  "status": "ok"
}

POST /api/v1/main/news/users/register

post
Authorizations
Responses
200

Successful response

application/json
Responseobject
post
POST /api/v1/main/news/users/register HTTP/1.1
Host: api.dovafm.xyz
X-API-Key: YOUR_API_KEY
Accept: */*
200

Successful response

{
  "status": "ok"
}

POST /api/v1/main/news/users/login

post
Authorizations
Responses
200

Successful response

application/json
Responseobject
post
POST /api/v1/main/news/users/login HTTP/1.1
Host: api.dovafm.xyz
X-API-Key: YOUR_API_KEY
Accept: */*
200

Successful response

{
  "status": "ok"
}

POST /api/v1/main/news

post
Authorizations
Responses
200

Successful response

application/json
Responseobject
post
POST /api/v1/main/news HTTP/1.1
Host: api.dovafm.xyz
X-API-Key: YOUR_API_KEY
Accept: */*
200

Successful response

{
  "status": "ok"
}

POST /api/v1/main/news/bulk-delete

post
Authorizations
Responses
200

Successful response

application/json
Responseobject
post
POST /api/v1/main/news/bulk-delete HTTP/1.1
Host: api.dovafm.xyz
X-API-Key: YOUR_API_KEY
Accept: */*
200

Successful response

{
  "status": "ok"
}

DELETE /api/v1/main/news/<article_id>

delete
Authorizations
Path parameters
article_idstringRequired

Path parameter article_id

Responses
200

Successful response

application/json
Responseobject
delete
DELETE /api/v1/main/news/{article_id} HTTP/1.1
Host: api.dovafm.xyz
X-API-Key: YOUR_API_KEY
Accept: */*
200

Successful response

{
  "status": "ok"
}

Last updated