Create a new key page
POST/key-pages
Create a new key page with the given parameters
Request
- application/json
Body
required
Matching type for the given key page
Name of the key page
Regular expression for the relative URL
Second matching type for the given key page (if needed)
Site Id of the project the key page belongs to
Number of impressions for the key page
Responses
- 201
- 400
- 401
- 403
- 404
- 423
- 500
Created
- */*
- Schema
- Example (from schema)
Schema
Date and time a key page is created
Unique Id of the key page
Matching type for the given key page
Date and time a key page is modified
Name of the key page
Regular expression for the relative URL
Second matching type for the given key page (if needed)
Site Id of the project the key page belongs to
Number of impressions for the key page
{
"dateCreated": "2024-07-29T15:51:28.071Z",
"id": 0,
"matchType": "string",
"modificationDate": "2024-07-29T15:51:28.071Z",
"name": "string",
"relativeUrlRegExp": "string",
"secondMatchType": "string",
"siteId": 0,
"totalCount": 0
}
Bad Request
- */*
- Schema
- Example (from schema)
Schema
Possible values: [SUCCESS
, ERROR
]
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}
Unauthorized
- */*
- Schema
- Example (from schema)
Schema
Possible values: [SUCCESS
, ERROR
]
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}
Forbidden
- */*
- Schema
- Example (from schema)
Schema
Possible values: [SUCCESS
, ERROR
]
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}
Not Found
- */*
- Schema
- Example (from schema)
Schema
Possible values: [SUCCESS
, ERROR
]
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}
Locked
- */*
- Schema
- Example (from schema)
Schema
Possible values: [SUCCESS
, ERROR
]
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}
Internal Server Error
- */*
- Schema
- Example (from schema)
Schema
Possible values: [SUCCESS
, ERROR
]
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}