Nimesh Kumar
09/25/2024, 9:43 AMNate
09/25/2024, 4:44 PMKubernetesJob(...).save("block-name")
Nimesh Kumar
09/25/2024, 5:05 PMNate
09/25/2024, 5:06 PMNimesh Kumar
09/25/2024, 5:33 PMNate
09/25/2024, 5:37 PMNate
09/25/2024, 5:37 PMPOST <https://api.prefect.cloud/api/accounts/{account_id}/workspaces/{workspace_id}/block_documents/>
Nimesh Kumar
09/25/2024, 5:44 PMNate
09/25/2024, 8:04 PMNate
09/25/2024, 8:09 PM» curl -X POST <http://localhost:4200/api/block_documents/>
{"exception_message":"Invalid request received.","exception_detail":[{"type":"missing","loc":["body"],"msg":"Field required","input":null}],"request_body":null}%
Nimesh Kumar
09/26/2024, 12:51 AMNate
09/26/2024, 12:54 AMNate
09/26/2024, 12:54 AMNimesh Kumar
09/26/2024, 2:06 AMNate
09/26/2024, 1:48 PMNimesh Kumar
09/26/2024, 1:52 PMNate
09/26/2024, 1:54 PMNimesh Kumar
09/26/2024, 2:00 PM{
"name": "string",
"slug": "string",
"logo_url": "string",
"documentation_url": "string",
"description": "string",
"code_example": "string"
}
then then the update api (/api/block_types) takes
{
"logo_url": "string",
"documentation_url": "string",
"description": "string",
"code_example": "string"
}
can't see any feild like env, docker image, TTL etc.Nimesh Kumar
09/27/2024, 4:48 PMNate
09/27/2024, 4:50 PMNate
09/27/2024, 4:50 PMNimesh Kumar
09/27/2024, 4:55 PMNate
09/27/2024, 4:58 PMNimesh Kumar
09/27/2024, 5:00 PMNate
09/27/2024, 5:01 PMNimesh Kumar
09/27/2024, 5:24 PMNate
09/27/2024, 6:25 PMSecret(value="asdf").save("name")
Nate
09/27/2024, 6:25 PM