Import meshObjects with JSON
PUT/api/meshobjects
To import existing cloud tenants to meshStack into existing company processes, meshStack provides an API to import
meshObjects like meshWorkspace, meshProject, etc. The Declarative Import allows external systems to use a PUT
request method for importing meshObject definitions within a YAML or JSON definition. All supported meshObjects
can be found under Supported meshObjects. meshObjects can be imported into a meshObjectCollection (*Beta*) using
the following optional request parameters.
Request
Responses
- 200
- 400
- 401
- 403
- 406
- 415
- 422
- 500
meshStack imported every meshObject. The list contains the result of each meshObject.
The request is invalid. The message names the invalid part.
The request has no valid authentication.
The authenticated user or API key lacks the permission for this request.
The Accept header names no media type of this operation, or a version that is no longer supported.
The Content-Type header names no media type that this operation accepts.
meshStack could not import at least one meshObject, for example because it references an object that does not exist. The list contains the result of each meshObject. If meshStack cannot import the request as a whole, for example a kind it no longer supports, the body is an error instead.
meshStack failed to import at least one meshObject. The list contains the result of each meshObject.