|
|
@ -17,6 +17,11 @@ paths:
|
|
|
|
/blogs:
|
|
|
|
/blogs:
|
|
|
|
get:
|
|
|
|
get:
|
|
|
|
summary: Get list of availables blogs
|
|
|
|
summary: Get list of availables blogs
|
|
|
|
|
|
|
|
parameters:
|
|
|
|
|
|
|
|
- name: x_dc_key
|
|
|
|
|
|
|
|
in: header
|
|
|
|
|
|
|
|
type: string
|
|
|
|
|
|
|
|
required: false
|
|
|
|
responses:
|
|
|
|
responses:
|
|
|
|
200:
|
|
|
|
200:
|
|
|
|
description: array serving blogs properties
|
|
|
|
description: array serving blogs properties
|
|
|
@ -32,6 +37,10 @@ paths:
|
|
|
|
post:
|
|
|
|
post:
|
|
|
|
summary: Create a new blog
|
|
|
|
summary: Create a new blog
|
|
|
|
parameters:
|
|
|
|
parameters:
|
|
|
|
|
|
|
|
- name: x_dc_key
|
|
|
|
|
|
|
|
in: header
|
|
|
|
|
|
|
|
type: string
|
|
|
|
|
|
|
|
required: true
|
|
|
|
- name: blog
|
|
|
|
- name: blog
|
|
|
|
in: body
|
|
|
|
in: body
|
|
|
|
description: The blog you want to create
|
|
|
|
description: The blog you want to create
|
|
|
@ -51,6 +60,10 @@ paths:
|
|
|
|
get:
|
|
|
|
get:
|
|
|
|
summary: Get a blog poperties
|
|
|
|
summary: Get a blog poperties
|
|
|
|
parameters:
|
|
|
|
parameters:
|
|
|
|
|
|
|
|
- name: x_dc_key
|
|
|
|
|
|
|
|
in: header
|
|
|
|
|
|
|
|
type: string
|
|
|
|
|
|
|
|
required: false
|
|
|
|
- name: blog-id
|
|
|
|
- name: blog-id
|
|
|
|
in: path
|
|
|
|
in: path
|
|
|
|
type: string
|
|
|
|
type: string
|
|
|
@ -69,6 +82,10 @@ paths:
|
|
|
|
patch:
|
|
|
|
patch:
|
|
|
|
summary: Update part of blog properties
|
|
|
|
summary: Update part of blog properties
|
|
|
|
parameters:
|
|
|
|
parameters:
|
|
|
|
|
|
|
|
- name: x_dc_key
|
|
|
|
|
|
|
|
in: header
|
|
|
|
|
|
|
|
type: string
|
|
|
|
|
|
|
|
required: true
|
|
|
|
- name: blog-id
|
|
|
|
- name: blog-id
|
|
|
|
in: path
|
|
|
|
in: path
|
|
|
|
type: string
|
|
|
|
type: string
|
|
|
@ -93,6 +110,10 @@ paths:
|
|
|
|
put:
|
|
|
|
put:
|
|
|
|
summary: Overwrite blog Properties (if a parameter is not set, his value will be erased by de default value)
|
|
|
|
summary: Overwrite blog Properties (if a parameter is not set, his value will be erased by de default value)
|
|
|
|
parameters:
|
|
|
|
parameters:
|
|
|
|
|
|
|
|
- name: x_dc_key
|
|
|
|
|
|
|
|
in: header
|
|
|
|
|
|
|
|
type: string
|
|
|
|
|
|
|
|
required: true
|
|
|
|
- name: blog-id
|
|
|
|
- name: blog-id
|
|
|
|
in: path
|
|
|
|
in: path
|
|
|
|
type: string
|
|
|
|
type: string
|
|
|
@ -118,6 +139,10 @@ paths:
|
|
|
|
delete:
|
|
|
|
delete:
|
|
|
|
summary: Delete this blog
|
|
|
|
summary: Delete this blog
|
|
|
|
parameters:
|
|
|
|
parameters:
|
|
|
|
|
|
|
|
- name: x_dc_key
|
|
|
|
|
|
|
|
in: header
|
|
|
|
|
|
|
|
type: string
|
|
|
|
|
|
|
|
required: true
|
|
|
|
- name: blog-id
|
|
|
|
- name: blog-id
|
|
|
|
in: path
|
|
|
|
in: path
|
|
|
|
type: string
|
|
|
|
type: string
|
|
|
@ -138,6 +163,10 @@ paths:
|
|
|
|
get:
|
|
|
|
get:
|
|
|
|
summary: Get list of posts
|
|
|
|
summary: Get list of posts
|
|
|
|
parameters:
|
|
|
|
parameters:
|
|
|
|
|
|
|
|
- name: x_dc_key
|
|
|
|
|
|
|
|
in: header
|
|
|
|
|
|
|
|
type: string
|
|
|
|
|
|
|
|
required: true
|
|
|
|
- name: blog-id
|
|
|
|
- name: blog-id
|
|
|
|
in: path
|
|
|
|
in: path
|
|
|
|
type: string
|
|
|
|
type: string
|
|
|
@ -172,6 +201,10 @@ paths:
|
|
|
|
post:
|
|
|
|
post:
|
|
|
|
summary: Create a new post
|
|
|
|
summary: Create a new post
|
|
|
|
parameters:
|
|
|
|
parameters:
|
|
|
|
|
|
|
|
- name: x_dc_key
|
|
|
|
|
|
|
|
in: header
|
|
|
|
|
|
|
|
type: string
|
|
|
|
|
|
|
|
required: true
|
|
|
|
- name: blog-id
|
|
|
|
- name: blog-id
|
|
|
|
in: path
|
|
|
|
in: path
|
|
|
|
type: string
|
|
|
|
type: string
|
|
|
@ -195,6 +228,10 @@ paths:
|
|
|
|
get:
|
|
|
|
get:
|
|
|
|
summary: Get a post entry
|
|
|
|
summary: Get a post entry
|
|
|
|
parameters:
|
|
|
|
parameters:
|
|
|
|
|
|
|
|
- name: x_dc_key
|
|
|
|
|
|
|
|
in: header
|
|
|
|
|
|
|
|
type: string
|
|
|
|
|
|
|
|
required: false
|
|
|
|
- name: blog-id
|
|
|
|
- name: blog-id
|
|
|
|
in: path
|
|
|
|
in: path
|
|
|
|
type: string
|
|
|
|
type: string
|
|
|
@ -229,6 +266,10 @@ paths:
|
|
|
|
patch:
|
|
|
|
patch:
|
|
|
|
summary: Update part of a post entry's properties
|
|
|
|
summary: Update part of a post entry's properties
|
|
|
|
parameters:
|
|
|
|
parameters:
|
|
|
|
|
|
|
|
- name: x_dc_key
|
|
|
|
|
|
|
|
in: header
|
|
|
|
|
|
|
|
type: string
|
|
|
|
|
|
|
|
required: true
|
|
|
|
- name: blog-id
|
|
|
|
- name: blog-id
|
|
|
|
in: path
|
|
|
|
in: path
|
|
|
|
type: string
|
|
|
|
type: string
|
|
|
@ -255,6 +296,10 @@ paths:
|
|
|
|
put:
|
|
|
|
put:
|
|
|
|
summary: Update full blog properties. Unsetted parameters will be erased
|
|
|
|
summary: Update full blog properties. Unsetted parameters will be erased
|
|
|
|
parameters:
|
|
|
|
parameters:
|
|
|
|
|
|
|
|
- name: x_dc_key
|
|
|
|
|
|
|
|
in: header
|
|
|
|
|
|
|
|
type: string
|
|
|
|
|
|
|
|
required: true
|
|
|
|
- name: blog-id
|
|
|
|
- name: blog-id
|
|
|
|
in: path
|
|
|
|
in: path
|
|
|
|
type: string
|
|
|
|
type: string
|
|
|
@ -281,6 +326,10 @@ paths:
|
|
|
|
delete:
|
|
|
|
delete:
|
|
|
|
summary: Delete the post
|
|
|
|
summary: Delete the post
|
|
|
|
parameters:
|
|
|
|
parameters:
|
|
|
|
|
|
|
|
- name: x_dc_key
|
|
|
|
|
|
|
|
in: header
|
|
|
|
|
|
|
|
type: string
|
|
|
|
|
|
|
|
required: true
|
|
|
|
- name: blog-id
|
|
|
|
- name: blog-id
|
|
|
|
in: path
|
|
|
|
in: path
|
|
|
|
type: string
|
|
|
|
type: string
|
|
|
@ -304,6 +353,10 @@ paths:
|
|
|
|
get:
|
|
|
|
get:
|
|
|
|
summary: Get list of available categories
|
|
|
|
summary: Get list of available categories
|
|
|
|
parameters:
|
|
|
|
parameters:
|
|
|
|
|
|
|
|
- name: x_dc_key
|
|
|
|
|
|
|
|
in: header
|
|
|
|
|
|
|
|
type: string
|
|
|
|
|
|
|
|
required: false
|
|
|
|
- name: blog-id
|
|
|
|
- name: blog-id
|
|
|
|
in: path
|
|
|
|
in: path
|
|
|
|
type: string
|
|
|
|
type: string
|
|
|
@ -323,6 +376,10 @@ paths:
|
|
|
|
post:
|
|
|
|
post:
|
|
|
|
summary: Create a new category
|
|
|
|
summary: Create a new category
|
|
|
|
parameters:
|
|
|
|
parameters:
|
|
|
|
|
|
|
|
- name: x_dc_key
|
|
|
|
|
|
|
|
in: header
|
|
|
|
|
|
|
|
type: string
|
|
|
|
|
|
|
|
required: true
|
|
|
|
- name: blog-id
|
|
|
|
- name: blog-id
|
|
|
|
in: path
|
|
|
|
in: path
|
|
|
|
type: string
|
|
|
|
type: string
|
|
|
@ -346,6 +403,10 @@ paths:
|
|
|
|
get:
|
|
|
|
get:
|
|
|
|
summary: get one category properties
|
|
|
|
summary: get one category properties
|
|
|
|
parameters:
|
|
|
|
parameters:
|
|
|
|
|
|
|
|
- name: x_dc_key
|
|
|
|
|
|
|
|
in: header
|
|
|
|
|
|
|
|
type: string
|
|
|
|
|
|
|
|
required: false
|
|
|
|
- name: blog-id
|
|
|
|
- name: blog-id
|
|
|
|
in: path
|
|
|
|
in: path
|
|
|
|
type: string
|
|
|
|
type: string
|
|
|
|