CmsBlock

cms Block Repository V1Get By Id Get

get

Retrieve block.

Path parameters
blockIdstringRequired

(Required)

Example: <string>
Responses
200

OK

application/json
Responseobject
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>"
}

cms Block Repository V1Delete By Id Delete

delete

Delete block by ID.

Path parameters
blockIdstringRequired

(Required)

Example: <string>
Responses
200

OK

application/json
Responseobject
delete
DELETE /V1/cmsBlock/{blockId} HTTP/1.1
Host: {{baseurl}}
Accept: */*
true

cms Block Repository V1Save Post

post

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
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>"
}

cms Block Repository V1Save Put

put

Save block.

Path parameters
idstringRequired

(Required)

Example: <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
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>"
}