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
/V1/cmsBlock/{blockId}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
/V1/cmsBlock/{blockId}DELETE /V1/cmsBlock/{blockId} HTTP/1.1
Host: {{baseurl}}
Accept: */*
trueSave block.
Header parameters
Content-TypestringOptionalExample:
application/jsonBody
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
/V1/cmsBlockPOST /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/jsonBody
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
/V1/cmsBlock/{id}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>"
}