Skip to main content
POST
/
pages
/
service-rules
/
history
/
{rule_id}
/
restore
Restore Service Rules Version
curl --request POST \
  --url http://localhost:8080/pages/service-rules/history/{rule_id}/restore
{
  "id": 123,
  "title": "<string>",
  "content": "<string>",
  "language": "<string>",
  "is_active": true,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Path Parameters

rule_id
integer
required

Query Parameters

language
string
default:ru
Required string length: 2 - 10

Response

Successful Response

id
integer
required
title
string
required
content
string
required
language
string
required
is_active
boolean
required
created_at
string<date-time>
required
updated_at
string<date-time>
required