CmsBlock
Retrieve block.
Path parameters
blockIdstringRequiredExample:
(Required)
<string>
Responses
200
OK
application/json
Responseobject
401
Unauthorized
application/json
500
Internal Server Error
application/json
get
GET /V1/cmsBlock/{blockId} HTTP/1.1
Host: {{baseurl}}
Accept: */*
{
"identifier": "<string>",
"id": "<integer>",
"title": "<string>",
"content": "<string>",
"creation_time": "<string>",
"update_time": "<string>",
"active": "<boolean>"
}
Delete block by ID.
Path parameters
blockIdstringRequiredExample:
(Required)
<string>
Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
delete
DELETE /V1/cmsBlock/{blockId} HTTP/1.1
Host: {{baseurl}}
Accept: */*
true
Save block.
Header parameters
Content-TypestringOptionalExample:
application/json
Body
objectOptionalExample:
{"block":{"identifier":"<string>","id":"<integer>","title":"<string>","content":"<string>","creation_time":"<string>","update_time":"<string>","active":"<boolean>"}}
Responses
200
OK
application/json
Responseobject
401
Unauthorized
application/json
500
Internal Server Error
application/json
post
POST /V1/cmsBlock HTTP/1.1
Host: {{baseurl}}
Content-Type: application/json
Accept: */*
Content-Length: 165
{
"block": {
"identifier": "<string>",
"id": "<integer>",
"title": "<string>",
"content": "<string>",
"creation_time": "<string>",
"update_time": "<string>",
"active": "<boolean>"
}
}
{
"identifier": "<string>",
"id": "<integer>",
"title": "<string>",
"content": "<string>",
"creation_time": "<string>",
"update_time": "<string>",
"active": "<boolean>"
}
Save block.
Path parameters
idstringRequiredExample:
(Required)
<string>
Header parameters
Content-TypestringOptionalExample:
application/json
Body
objectOptionalExample:
{"block":{"identifier":"<string>","id":"<integer>","title":"<string>","content":"<string>","creation_time":"<string>","update_time":"<string>","active":"<boolean>"}}
Responses
200
OK
application/json
Responseobject
401
Unauthorized
application/json
500
Internal Server Error
application/json
put
PUT /V1/cmsBlock/{id} HTTP/1.1
Host: {{baseurl}}
Content-Type: application/json
Accept: */*
Content-Length: 165
{
"block": {
"identifier": "<string>",
"id": "<integer>",
"title": "<string>",
"content": "<string>",
"creation_time": "<string>",
"update_time": "<string>",
"active": "<boolean>"
}
}
{
"identifier": "<string>",
"id": "<integer>",
"title": "<string>",
"content": "<string>",
"creation_time": "<string>",
"update_time": "<string>",
"active": "<boolean>"
}