Search…
API Reference

Update Blueprint

Updates the persistent blueprint stored in Velocity and used for spinning up dev/test environments
POST https://api.velocity.tech/api/v1/blueprints
Input:
Accept: application/json
Authorization: <JWT token received from Velocity>
Content-Type: application/yaml
Body: <YAML file containing your K8s resource files>
Output:
Success: 201 with an empty json body
HTTP/1.1 201 Created
< Content-Type: application/json; charset=UTF-8
< Date: Mon, 11 Jul 2022 10:52:12 GMT
{}
Failure: Error code such as: 401 or 400 with an error message posted in the message body.
HTTP/1.1 401 UnAuthorized
< Content-Type: application/json; charset=UTF-8
< Date: Mon, 11 Jul 2022 10:52:12 GMT
{
"error": {
"message": "missing or malformed jwt"
}
}
Copy link