Creates a configurable log drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed)
643 matches
58 actions
Vercel
58 actions
- Create a DNS recordPOSTv1.0.0
- Create a new secretPOSTv1.0.0
- Create a TeamPOSTv1.0.0
- Create an Edge ConfigPOSTv1.0.0
- Create one or more environment variablesPOSTv1.0.0
- Creates a Configurable Log DrainPOSTv1.0.0
- Creates a new CheckPOSTv1.0.0
- Creates a new Integration Log DrainPOSTv1.0.0
- Delete a DeploymentDELETEv1.0.0
- Delete a ProjectDELETEv1.0.0
- Delete a secretDELETEv1.0.0
- Delete a TeamDELETEv1.0.0
- Delete an AliasDELETEv1.0.0
- Delete an Edge ConfigDELETEv1.0.0
- Delete an integration configurationDELETEv1.0.0
- Deletes a Configurable Log DrainDELETEv1.0.0
- Deletes the Integration log drain with the provided `id`DELETEv1.0.0
- Find a project by id or nameGETv1.0.0
- Get a deployment by ID or URLGETv1.0.0
- Get a Domain's configurationGETv1.0.0
- Get a project domainGETv1.0.0
- Get a single checkGETv1.0.0
- Get a single secretGETv1.0.0
- Get a TeamGETv1.0.0
- Get access request statusGETv1.0.0
- Get an AliasGETv1.0.0
- Get an Edge ConfigGETv1.0.0
- Get an Edge Config itemGETv1.0.0
- Get cert by idGETv1.0.0
- Get configurations for the authenticated user or teamGETv1.0.0
- Get Deployment File ContentsGETv1.0.0
- Get Edge Config itemsGETv1.0.0
- Get Edge ConfigsGETv1.0.0
- Get Information for a Single DomainGETv1.0.0
- Get status of Remote Caching for this principalGETv1.0.0
- Get the UserGETv1.0.0
- List aliasesGETv1.0.0
- List all teamsGETv1.0.0
- List all the domainsGETv1.0.0
- List Deployment AliasesGETv1.0.0
- List Deployment BuildsGETv1.0.0
- List Deployment FilesGETv1.0.0
- List existing DNS recordsGETv1.0.0
- List git namespaces by providerGETv1.0.0
- List git repositories linked to namespace by providerGETv1.0.0
- List secretsGETv1.0.0
- List team membersGETv1.0.0
- List User EventsGETv1.0.0
- Query information about an artifactPOSTv1.0.0
- Register or transfer-in a new DomainPOSTv1.0.0
- Remove a domain by nameDELETEv1.0.0
- Retrieve a list of all checksGETv1.0.0
- Retrieve an integration configurationGETv1.0.0
- Retrieve the decrypted value of an environment variable of a project by idGETv1.0.0
- Retrieve the environment variables of a project by id or nameGETv1.0.0
- Retrieves a Configurable Log DrainGETv1.0.0
- Retrieves a list of Configurable Log DrainsGETv1.0.0
- Retrieves a list of Integration log drainsGETv1.0.0
Infrastructure/Vercel
Creates a Configurable Log Drain
v1.0.0Input
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
{
"type": "object",
"properties": {
"branch": {
"type": "string",
"description": "The branch regexp of log drain"
},
"deliveryFormat": {
"description": "The delivery log format",
"enum": [
"json",
"ndjson"
],
"type": "object"
},
"environment": {
"description": "The environment of log drain",
"enum": [
"preview",
"production"
],
"type": "object"
},
"headers": {
"type": "object",
"description": "Headers to be sent together with the request"
},
"projectIds": {
"type": "array",
"items": {
"type": "string"
}
},
"sources": {
"type": "array",
"items": {
"type": "string",
"enum": [
"static",
"lambda",
"build",
"edge",
"external"
]
}
},
"teamId": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri",
"description": "The log drain url"
}
},
"required": [
"deliveryFormat",
"sources",
"url"
],
"additionalProperties": false
}Output
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
{
"type": "object",
"required": [
"createdAt",
"deliveryFormat",
"id",
"ownerId",
"type",
"url"
],
"properties": {
"branch": {
"type": "string",
"description": "The branch to filter logs by"
},
"configurationId": {
"type": "string",
"description": "The ID of the related integration configuration"
},
"createdAt": {
"type": "number",
"description": "A number containing the date when the log-drain was created in in milliseconds"
},
"deliveryFormat": {
"type": "string",
"description": "The log-drain defined delivery format",
"enum": [
"json",
"ndjson",
"syslog"
]
},
"environment": {
"type": "string",
"description": "The environment to filter logs by",
"enum": [
"preview",
"production"
]
},
"headers": {
"type": "object",
"description": "The key/value pairs that will be sent as headers to the log-drain"
},
"id": {
"type": "string",
"description": "The log-drain id"
},
"ownerId": {
"type": "string",
"description": "The unique ID of the team the deployment belongs to"
},
"projectIds": {
"type": "array",
"description": "The ID of the projects the deployment is associated with",
"items": {
"type": "string"
}
},
"secret": {
"type": "string",
"description": "The secret to validate the log-drain payload"
},
"sources": {
"type": "array",
"description": "The log-drain defined sources",
"items": {
"type": "string",
"description": "The log-drain defined sources",
"enum": [
"static",
"lambda",
"build",
"edge",
"external"
]
}
},
"type": {
"type": "string",
"description": "The log-drain defined delivery format",
"enum": [
"json",
"ndjson",
"syslog"
]
},
"url": {
"type": "string",
"description": "A string with the URL of the log-drain"
}
}
}