Runtime (1)

Download OpenAPI specification:Download

Generated by protoc-gen-openapi

Authentication

MicroAPIToken

Micro API token

Security Scheme Type HTTP
HTTP Authorization Scheme bearer
Bearer format "JWT"

Build.Read(Service)

Authorizations:
header Parameters
Micro-Namespace
required
string
Request Body schema: application/json

BuildReadRequest

object

service metadata

name
string

name of the service

source
string

git url of the source

status
number <int32>

status of the service

version
string

version of the service

Responses

Request samples

Content type
application/json
{
  • "metadata": {
    },
  • "name": "string",
  • "source": "string",
  • "status": 0,
  • "version": "string"
}

Response samples

Content type
application/json
{
  • "data": "string"
}

Runtime.Create(CreateRequest)

Authorizations:
header Parameters
Micro-Namespace
required
string
Request Body schema: application/json

RuntimeCreateRequest

object
object

Responses

Request samples

Content type
application/json
{
  • "options": {
    },
  • "resource": {
    }
}

Response samples

Content type
application/json
{ }

Runtime.Delete(DeleteRequest)

Authorizations:
header Parameters
Micro-Namespace
required
string
Request Body schema: application/json

RuntimeDeleteRequest

object
object

Responses

Request samples

Content type
application/json
{
  • "options": {
    },
  • "resource": {
    }
}

Response samples

Content type
application/json
{ }

Runtime.Logs(LogsRequest)

Authorizations:
header Parameters
Micro-Namespace
required
string
Request Body schema: application/json

RuntimeLogsRequest

count
number <int64>

count of records to request

object

options to use

service
string

service to request logs for

since
number <int64>

relative time in seconds before the current time from which to show logs

stream
boolean

stream records continuously

Responses

Request samples

Content type
application/json
{
  • "count": 0,
  • "options": {
    },
  • "service": "string",
  • "since": 0,
  • "stream": true
}

Response samples

Content type
application/json
{
  • "message": "string",
  • "metadata": {
    },
  • "timestamp": 0
}

Runtime.Read(ReadRequest)

Authorizations:
header Parameters
Micro-Namespace
required
string
Request Body schema: application/json

RuntimeReadRequest

object

Responses

Request samples

Content type
application/json
{
  • "options": {
    }
}

Response samples

Content type
application/json
{
  • "services": {
    }
}

Runtime.Update(UpdateRequest)

Authorizations:
header Parameters
Micro-Namespace
required
string
Request Body schema: application/json

RuntimeUpdateRequest

object
object

Responses

Request samples

Content type
application/json
{
  • "options": {
    },
  • "resource": {
    }
}

Response samples

Content type
application/json
{ }

Source.Upload(UploadRequest)

Authorizations:
header Parameters
Micro-Namespace
required
string
Request Body schema: application/json

SourceUploadRequest

data
string <byte>
object

Responses

Request samples

Content type
application/json
{
  • "data": "string",
  • "service": {
    }
}

Response samples

Content type
application/json
{
  • "id": "string"
}