Notify Kevin
Notify Kevin · GPT 작업
Pushbullet API
POST /pushesSend a Push
원본 API 스키마
{
"openapi": "3.0.0",
"info": {
"title": "Pushbullet API",
"version": "v2"
},
"servers": [
{
"url": "https://api.pushbullet.com/v2",
"description": "Production server"
}
],
"paths": {
"/pushes": {
"post": {
"summary": "Send a Push",
"operationId": "sendPush",
"tags": [
"Pushes"
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PushRequest"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PushResponse"
}
}
}
},
"400": {
"description": "Bad Request"
}
},
"security": [
{
"AccessToken": []
}
]
}
}
},
"components": {
"schemas": {
"PushRequest": {
"type": "object",
"properties": {
"body": {
"type": "string",
"example": "Space Elevator, Mars Hyperloop, Space Model S (Model Space?)"
},
"title": {
"type": "string",
"example": "Space Travel Ideas"
},
"type": {
"type": "string",
"example": "note",
"description": "Must always be \"note\""
}
}
},
"PushResponse": {
"type": "object",
"properties": {
"active": {
"type": "boolean"
},
"iden": {
"type": "string"
},
"created": {
"type": "number"
},
"modified": {
"type": "number"
},
"type": {
"type": "string"
},
"dismissed": {
"type": "boolean"
},
"direction": {
"type": "string"
},
"sender_iden": {
"type": "string"
},
"sender_email": {
"type": "string"
},
"sender_email_normalized": {
"type": "string"
},
"sender_name": {
"type": "string"
},
"receiver_iden": {
"type": "string"
},
"receiver_email": {
"type": "string"
},
"receiver_email_normalized": {
"type": "string"
},
"title": {
"type": "string"
},
"body": {
"type": "string"
}
}
}
},
"securitySchemes": {
"AccessToken": {
"type": "apiKey",
"in": "header",
"name": "Access-Token"
}
}
}
}