Creates an Integration log drain. This endpoint must be called with an OAuth2 client (integration), since log drains are tied to integrations. If it is called with a different token type it will produce a 400 error.
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 new Integration 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
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
{
"type": "object",
"properties": {
"branch": {
"type": "string",
"description": "The branch regexp of log drain"
},
"deliveryFormat": {
"description": "The delivery log format",
"enum": [
"json",
"ndjson",
"syslog"
],
"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"
},
"name": {
"type": "string",
"description": "The name of the log drain"
},
"projectIds": {
"type": "array",
"items": {
"type": "string"
}
},
"secret": {
"type": "string",
"description": "A secret to sign log drain notification headers so a consumer can verify their authenticity"
},
"sources": {
"type": "array",
"items": {
"type": "string",
"enum": [
"static",
"lambda",
"build",
"edge",
"external"
]
}
},
"teamId": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri",
"description": "The url where you will receive logs. The protocol must be `https://` or `http://` when type is `json` and `ndjson`, and `syslog+tls:` or `syslog:` when the type is `syslog`."
}
},
"required": [
"name",
"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
- 94
- 95
- 96
- 97
- 98
- 99
- 100
- 101
- 102
- 103
- 104
- 105
- 106
- 107
- 108
- 109
- 110
- 111
{
"type": "object",
"required": [
"createdAt",
"id",
"name",
"ownerId",
"type",
"url"
],
"properties": {
"branch": {
"type": "string",
"description": "The branch regexp of log drain"
},
"clientId": {
"type": "string",
"description": "The oauth2 client application id that created this log drain"
},
"configurationId": {
"type": "string",
"description": "The client configuration this log drain was created with"
},
"createdAt": {
"type": "number",
"description": "A timestamp that tells you when the log drain was created"
},
"createdFrom": {
"type": "string",
"description": "Whether the log drain was created by an integration or by a user",
"enum": [
"self-served",
"integration"
]
},
"deliveryFormat": {
"type": "string",
"description": "The delivery log format",
"enum": [
"json",
"ndjson",
"syslog"
]
},
"environment": {
"type": "string",
"description": "The environment of log drain",
"enum": [
"preview",
"production"
]
},
"headers": {
"type": "object",
"description": "Construct a type with a set of properties K of type T"
},
"id": {
"type": "string",
"description": "The unique identifier of the log drain. Always prefixed with `ld_`"
},
"name": {
"type": "string",
"description": "The name of the log drain"
},
"ownerId": {
"type": "string",
"description": "The identifier of the team or user whose events will trigger the log drain"
},
"projectId": {
"type": [
"string",
"null"
]
},
"projectIds": {
"type": "array",
"description": "The identifier of the projects this log drain is associated with",
"items": {
"type": "string"
}
},
"sources": {
"type": "array",
"description": "The sources from which logs are currently being delivered to this log drain.",
"items": {
"type": "string",
"description": "The sources from which logs are currently being delivered to this log drain.",
"enum": [
"static",
"lambda",
"build",
"edge",
"external"
]
}
},
"type": {
"type": "string",
"description": "The type of log format",
"enum": [
"json",
"ndjson",
"syslog"
]
},
"url": {
"type": "string",
"description": "The URL to call when logs are generated"
}
}
}