Packages_updatePackage

Update package changes.

SecuritybearerAuth
Request
path Parameters
id
required
string

package id.

Request Body schema: application/json
id
required
string
url
required
string
version
required
string
createdAt
required
string <date-time>
updatedAt
required
string <date-time>
creator
required
string
name
required
string
global
required
boolean
projectId
required
string
required
object (Codebase)
required
Array of objects (Module)
Array of objects (UiHook)
Array of objects (UiSlot)
object (ServiceConfig)
type
required
string
Enum: "app" "faas" "ml"
Array of objects (PackageRequirement)
object (PackageMetadata)
Array of objects (Panel)
Responses
200

Ok

patch/packages/{id}
Request samples
application/json
{
  • "id": "string",
  • "url": "string",
  • "version": "string",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "creator": "string",
  • "name": "string",
  • "global": true,
  • "projectId": "string",
  • "codebase": {
    },
  • "modules": [
    ],
  • "uiHooks": [
    ],
  • "slots": [
    ],
  • "serviceConfig": {
    },
  • "type": "app",
  • "requirements": [
    ],
  • "metadata": {
    },
  • "panels": [
    ]
}
Response samples
application/json
{
  • "id": "string",
  • "url": "string",
  • "version": "string",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "creator": "string",
  • "name": "string",
  • "global": true,
  • "projectId": "string",
  • "codebase": {
    },
  • "modules": [
    ],
  • "uiHooks": [
    ],
  • "slots": [
    ],
  • "serviceConfig": {
    },
  • "type": "app",
  • "requirements": [
    ],
  • "metadata": {
    },
  • "panels": [
    ]
}