org.tangled.event.notifyEvent
notify an event from external source
Details · procedure
| Kind | procedure |
|---|---|
| Authority | event.tangled.org |
| Indexed |
Showing version bafyreiauyeb6iflbp52sahsdr6mbffcolf4rwn4qib3txkmthac366qcj4. Show the latest
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"ciOutput": {
"properties": {
"message": {
"description": "Text returned by the server for this push, like how to follow a started CI.",
"maxLength": 1000,
"type": "string"
},
"pipelines": {
"description": "IDs of the scheduled pipelines",
"items": {
"format": "record-key",
"type": "string"
},
"type": "array"
}
},
"required": [],
"type": "object"
},
"main": {
"description": "notify an event from external source",
"errors": [
{
"description": "Invalid request parameters",
"name": "InvalidRequest"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"event": {
"description": "Tangled event object",
"refs": [
"org.tangled.ci.trigger.manual",
"org.tangled.event.push"
],
"type": "union"
},
"repo": {
"description": "Repository DID",
"format": "did",
"type": "string"
}
},
"required": [
"repo",
"event"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"ci": {
"ref": "#ciOutput",
"type": "ref"
}
},
"required": [],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "org.tangled.event.notifyEvent",
"lexicon": 1
}