Update a technology template
Changed onUpdates a technology template.
Request
- Base URLhttps://api.nullplatform.com
- URLhttps://api.nullplatform.com/template/{id}
- AuthHTTP bearer
Path parameters
The unique ID for the technology template.
Request body
Example request
{
"name": "Next.JS 13",
"organization": 234,
"account": 345,
"status": "active",
"url": "https://github.com/nullplatform/technology-templates-nextjs",
"provider": {
"repository": "technology-templates-nextjs"
},
"components": [
{
"type": "language",
"id": "javascript",
"version": "es6"
},
{
"type": "framework",
"id": "next.js",
"version": "13"
}
],
"rules": {
"application_name": "^(.*)-api$",
"repository_path": "s/^(.*)-(.*)$/${namespace.slug}-golang-${1}-${2}/g"
},
"tags": [
"javascript",
"frontend",
"nextjs"
],
"metadata": {
"key": "value",
"schemas": [
{
"schema": "schema1"
},
{
"schema": "schema2"
}
],
"tags": [
{
"key": "tag1",
"value": "value1"
},
{
"key": "tag2",
"value": "value2"
}
]
}
}Response
The operation was successful.
Example response
{
"id": 123,
"name": "Next.JS 13 template",
"url": "https://github.com/nullplatform/technology-templates-nextjs",
"provider": {
"repository": "technology-templates-nextjs"
},
"components": [
{
"type": "language",
"id": "javascript-language",
"version": "1.0"
}
],
"updated_at": "2021-01-02T00:00:00Z",
"created_at": "2021-01-02T00:00:00Z"
}Changes
- breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - info
media type
application/jsonwas changed to a more specific media typeapplication/problem+jsonfor the response status - info
media type
application/jsonwas changed to a more specific media typeapplication/problem+jsonfor the response status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
response property
messagedeprecated - info
response property
messagedeprecated - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking