Partially update referrer
PATCH/referrers/:referrerId
Update several fields of a referrer
Request
Path Parameters
referrerId int64required
- application/json
Body
required
Array [
]
detections
object[]
and boolean
andMethod string
andParameters string
method string
parameters string
name string
Name of the referrer
priority int32
Priority for the given referrer
tags string
Tags belonging to this referrer
Responses
- 200
- 400
- 401
- 403
- 404
- 423
- 500
OK
- */*
- Schema
- Example (from schema)
Schema
Array [
]
dateCreated date-time
Date and time referred is created
detections
object[]
and boolean
andMethod string
andParameters string
method string
parameters string
id int64
Unique Id of the referrer
index int32
Index of the referrer
modificationDate date-time
Date and time referred is modified
name stringrequired
Name of the referrer
priority int32
Priority of the referrer
siteId int64
Site Id of the project the referrer belongs to
tags string
Tags belonging to this referrer
{
"dateCreated": "2024-07-29T15:51:28.071Z",
"detections": [
{
"and": true,
"andMethod": "string",
"andParameters": "string",
"method": "string",
"parameters": "string"
}
],
"id": 0,
"index": 0,
"modificationDate": "2024-07-29T15:51:28.071Z",
"name": "string",
"priority": 0,
"siteId": 0,
"tags": "string"
}
Bad Request
- */*
- Schema
- Example (from schema)
Schema
code string
impersonator string
message string
name string
status string
Possible values: [SUCCESS
, ERROR
]
sub string
time int64
timestamp date-time
{
"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
code string
impersonator string
message string
name string
status string
Possible values: [SUCCESS
, ERROR
]
sub string
time int64
timestamp date-time
{
"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
code string
impersonator string
message string
name string
status string
Possible values: [SUCCESS
, ERROR
]
sub string
time int64
timestamp date-time
{
"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
code string
impersonator string
message string
name string
status string
Possible values: [SUCCESS
, ERROR
]
sub string
time int64
timestamp date-time
{
"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
code string
impersonator string
message string
name string
status string
Possible values: [SUCCESS
, ERROR
]
sub string
time int64
timestamp date-time
{
"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
code string
impersonator string
message string
name string
status string
Possible values: [SUCCESS
, ERROR
]
sub string
time int64
timestamp date-time
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}
Loading...