AI prompts
base on Create, Deploy, and Run your applications on the edge # Raptor
Build, Deploy, and Run your applications on the edge.
# Installation
Work in progress and rough on the edges. Documentation on how to install and run Raptor on your own machines is in the making.
## API Server Endpoints
### /status
Get server status
- Method: `GET`
- Response Content-Type: `application/json`
Request Body: `empty`
Example Response:
```json
{
"status": "ok"
}
```
---
### /endpoint/\<id\>
Get Endpoint by ID
- Method: `GET`
- Response Content-Type: `application/json`
- Request Body: `empty`
Example Response:
```json
{
"id": "09248ef6-c401-4601-8928-5964d61f2c61",
"name": "My first run app",
"url": "http://0.0.0.0:4000/09248ef6-c401-4601-8928-5964d61f2c61",
"active_deploy_id": "aeacab67-91d6-45c1-ae29-f27922b0fcf0",
"deploy_history": [
{
"id": "aeacab67-91d6-45c1-ae29-f27922b0fcf0",
"endpoint_id": "09248ef6-c401-4601-8928-5964d61f2c61",
"hash": "c4dd6753109e47b317a4fc792d231b64",
"created_at": "2023-12-29T12:19:20.594726Z"
}
],
"created_at": "2023-12-29T12:19:20.574321Z"
}
```
---
### /endpoint
Create a new endpoint
- Method: `POST`
- Request Content-Type: `application/json`
- Response Content-Type: `application/json`
Example Request Body:
```json
{
"name": "my-endpoint"
}
```
Example Response Body:
```json
{
"id": "2488b7be-e3d3-4e4c-8f79-13d9d568483d",
"name": "my-endpoint",
"url": "http://0.0.0.0:4000/2488b7be-e3d3-4e4c-8f79-13d9d568483d",
"active_deploy_id": "00000000-0000-0000-0000-000000000000",
"deploy_history": [],
"created_at": "2023-12-29T12:08:20.542039Z"
}
```
---
### /endpoint/\<id\>/deploy
Deploy Wasm Blob to Endpoint
- Method: `POST`
- Request Content-Type: `application/octet-stream`
- Response Content-Type: `application/json`
Request Body: WASM file
Example Response:
```json
{
"id": "e2a1ceea-d19e-4231-adc9-995ac61bdaf0",
"endpoint_id": "2488b7be-e3d3-4e4c-8f79-13d9d568483d",
"hash": "75b196bcd44611d9f74d62ed16a54e03",
"created_at": "2023-12-29T12:12:39.91252Z"
}
```
---
## Wasm Server Endpoints
### /\<endpoint-id\>
Call the Wasm function
- Method: `ALL`
- Request Content-Type: `any`
- Response Content-Type: `any`
Request Body: `any` (passed to function)
Response Body: `any` (returned from function)
", Assign "at most 3 tags" to the expected json: {"id":"6442","tags":[]} "only from the tags list I provide: [{"id":77,"name":"3d"},{"id":89,"name":"agent"},{"id":17,"name":"ai"},{"id":54,"name":"algorithm"},{"id":24,"name":"api"},{"id":44,"name":"authentication"},{"id":3,"name":"aws"},{"id":27,"name":"backend"},{"id":60,"name":"benchmark"},{"id":72,"name":"best-practices"},{"id":39,"name":"bitcoin"},{"id":37,"name":"blockchain"},{"id":1,"name":"blog"},{"id":45,"name":"bundler"},{"id":58,"name":"cache"},{"id":21,"name":"chat"},{"id":49,"name":"cicd"},{"id":4,"name":"cli"},{"id":64,"name":"cloud-native"},{"id":48,"name":"cms"},{"id":61,"name":"compiler"},{"id":68,"name":"containerization"},{"id":92,"name":"crm"},{"id":34,"name":"data"},{"id":47,"name":"database"},{"id":8,"name":"declarative-gui "},{"id":9,"name":"deploy-tool"},{"id":53,"name":"desktop-app"},{"id":6,"name":"dev-exp-lib"},{"id":59,"name":"dev-tool"},{"id":13,"name":"ecommerce"},{"id":26,"name":"editor"},{"id":66,"name":"emulator"},{"id":62,"name":"filesystem"},{"id":80,"name":"finance"},{"id":15,"name":"firmware"},{"id":73,"name":"for-fun"},{"id":2,"name":"framework"},{"id":11,"name":"frontend"},{"id":22,"name":"game"},{"id":81,"name":"game-engine "},{"id":23,"name":"graphql"},{"id":84,"name":"gui"},{"id":91,"name":"http"},{"id":5,"name":"http-client"},{"id":51,"name":"iac"},{"id":30,"name":"ide"},{"id":78,"name":"iot"},{"id":40,"name":"json"},{"id":83,"name":"julian"},{"id":38,"name":"k8s"},{"id":31,"name":"language"},{"id":10,"name":"learning-resource"},{"id":33,"name":"lib"},{"id":41,"name":"linter"},{"id":28,"name":"lms"},{"id":16,"name":"logging"},{"id":76,"name":"low-code"},{"id":90,"name":"message-queue"},{"id":42,"name":"mobile-app"},{"id":18,"name":"monitoring"},{"id":36,"name":"networking"},{"id":7,"name":"node-version"},{"id":55,"name":"nosql"},{"id":57,"name":"observability"},{"id":46,"name":"orm"},{"id":52,"name":"os"},{"id":14,"name":"parser"},{"id":74,"name":"react"},{"id":82,"name":"real-time"},{"id":56,"name":"robot"},{"id":65,"name":"runtime"},{"id":32,"name":"sdk"},{"id":71,"name":"search"},{"id":63,"name":"secrets"},{"id":25,"name":"security"},{"id":85,"name":"server"},{"id":86,"name":"serverless"},{"id":70,"name":"storage"},{"id":75,"name":"system-design"},{"id":79,"name":"terminal"},{"id":29,"name":"testing"},{"id":12,"name":"ui"},{"id":50,"name":"ux"},{"id":88,"name":"video"},{"id":20,"name":"web-app"},{"id":35,"name":"web-server"},{"id":43,"name":"webassembly"},{"id":69,"name":"workflow"},{"id":87,"name":"yaml"}]" returns me the "expected json"