managed_blueprints_apply_create
POST/api/v3//managed/blueprints/:instance_uuid/apply/
Apply a blueprint
Request
Path Parameters
instance_uuid uuidrequired
A UUID string identifying this Blueprint Instance.
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (auto)
Schema
pkuuidrequired
namestringrequired
pathstring
Default value:
context
last_applieddate-timerequired
last_applied_hashstringrequired
statusBlueprintInstanceStatusEnum (string)required
Possible values: [successful
, warning
, error
, orphaned
, unknown
]
enabledboolean
managed_modelsstring[]required
metadatarequired
contentstring
{
"pk": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"path": "string",
"context": {},
"last_applied": "2024-07-29T15:51:28.071Z",
"last_applied_hash": "string",
"status": "successful",
"enabled": true,
"managed_models": [
"string"
],
"content": "string"
}
- application/json
- Schema
- Example (auto)
Schema
non_field_errorsstring[]
codestring
property name*any
Validation Error
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (auto)
Schema
detailstringrequired
codestring
{
"detail": "string",
"code": "string"
}
Authorization: http
name: authentiktype: httpscheme: bearer
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "/api/v3/managed/blueprints/:instance_uuid/apply/");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());