registry 0.1.31

  • Contact: N/A
  • License: N/A

Resources

application

Operations

Method and Path Description
GET /applications

Search applications. Always paginated.

GET /applications/versions

Provides visibility into recent changes of each application, including deletion

GET /applications/yaml

Returns YAML representation of applications.

GET /applications/:id

Returns information about a specific application.

POST /applications

Create a new application.

PUT /applications/:id

Upsert an application with the specified id.

DELETE /applications/:id

Delete the application with this id

PUT /applications/:id/dependencies/:dependency

Ensure that name is a dependencies for this project, adding if necessary.

DELETE /applications/:id/dependencies/:dependency

Remove name as a dependencies for this project

service

Operations

Method and Path Description
GET /services

Search services. Always paginated.

GET /services/versions

Provides visibility into recent changes of each service, including deletion

GET /services/:id

Returns information about a specific service.

POST /services

Create a new service.

PUT /services/:id

Upsert an service with the specified id.

DELETE /services/:id

Delete the service with this id

Headers

No headers

Imports

http://www.apidoc.me/flow/common/latest/service.json
http://www.apidoc.me/flow/error/latest/service.json

Enums

No enums

Models

application

Example Json: Minimal | Full
Field Type Required? Default Description
id string Yes -

ports [port] Yes -

All of the ports assigned to this application

dependencies [string] Yes -

A list of the direct dependencies of this application. Guaranteed to be non-cyclical over the set of all applications.

application_form

Example Json: Minimal | Full
Field Type Required? Default Description
id string Yes -

service string Yes -

external long No -

The external port number to allocate to this application. Defaults to a unique port assigned by the registry.

internal long No -

The internal port number that this application runs on. Defaults to the service’s default port number.

dependency [string] No -

The application IDs on which this application is dependent

application_put_form

Example Json: Minimal | Full
Field Type Required? Default Description
service string No -

external long No -

internal long No -

dependency [string] No -

application_version

Example Json: Minimal | Full
Field Type Required? Default Description
id string Yes -

timestamp date-time-iso8601 Yes -

type io.flow.common.v0.enums.change_type:0.3.28 Yes -

application application Yes -

http

Example Json: Minimal | Full
Field Type Required? Default Description
host string Yes -

port long Yes -

The port on which clients access this service.

port

Example Json: Minimal | Full
Field Type Required? Default Description
service service_reference Yes -

external long Yes -

The port on which clients access this service. If running in a container, this is the host port.

internal long Yes -

The port on which this service is running internally. If running in a container, this is the port inside the container.

postgresql

Example Json: Minimal | Full
Field Type Required? Default Description
dbname string Yes -

The database name.

host string Yes -

port long Yes -

The port on which clients access this database.

user string Yes -

service

Example Json: Minimal | Full

A service is used to identify what type of software is actually running. We use this to enable setting up application types with enough configuration info by default to support our use cases around docker, CI, etc. The name service comes from https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.txt

Field Type Required? Default Description
id string Yes -

Example: play

default_port long Yes -

Example: 9000

service_form

Example Json: Minimal | Full
Field Type Required? Default Description
id string Yes -

default_port long Yes -

service_put_form

Example Json: Minimal | Full
Field Type Required? Default Description
default_port long Yes -

service_reference

Example Json: Minimal | Full
Field Type Required? Default Description
id string Yes -

Example: play

service_version

Example Json: Minimal | Full
Field Type Required? Default Description
id string Yes -

timestamp date-time-iso8601 Yes -

type io.flow.common.v0.enums.change_type:0.3.28 Yes -

service service Yes -

Unions

healthcheck

Example Json: Minimal | Full
  • Type discriminator: discriminator
http
postgresql