Fuse TryIt - Jaxrs API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
More information: https://openapi-generator.tech
Contact Info: team@openapitools.org
Version: 1.0.0
BasePath:
All rights reserved
http://apache.org/licenses/LICENSE-2.0.html

Access

Methods

[ Jump to Models ]

Table of Contents

Default

Default

Up
get /user/{userId}/model/{modelId}/{runtime}/build
Schedule the build process for the model. (buildModel)

Path parameters

userId (required)
Path Parameter — default: null
modelId (required)
Path Parameter — default: null
runtime (required)
Path Parameter — default: null

Responses

200

[OK] Successfully scheduled the model build.

401

[Unauthorized] If the provided access token was not valid.

404

[Not Found] The model for the given id could not be found.

Up
put /user/{userId}/models
Create a new integration model (createModel)

Path parameters

userId (required)
Path Parameter — default: null

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

UserModelAdd UserModelAdd (optional)
Body Parameter

Return type

UserModel

Example data

Content-Type: application/json
{
  "modelId" : "modelId",
  "userId" : "userId",
  "content" : "content"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

201

[Created] Model was successfully created. UserModel

401

[Unauthorized] If the provided access token was not valid.

Up
delete /user/{userId}/model/{modelId}
Delete the model with the given id. (deleteModel)

Path parameters

userId (required)
Path Parameter — default: null
modelId (required)
Path Parameter — default: null

Responses

204

[No Content] Successfully deleted the model.

401

[Unauthorized] If the provided access token was not valid.

Up
delete /user/{userId}
Delete the user with the given id (deleteUser)

Path parameters

userId (required)
Path Parameter — default: null

Responses

204

[No Content] Sucessfully delete the user in Keycloak.

401

[Unauthorized] If the provided access token was not valid.

Up
get /user/{userId}/model/{modelId}/{runtime}/download
Download the build target (downloadBuildTarget)

Path parameters

userId (required)
Path Parameter — default: null
modelId (required)
Path Parameter — default: null
runtime (required)
Path Parameter — default: null

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

[OK] Found the requested build target.

401

[Unauthorized] If the provided credentials were not valid.

404

[Not Found] The target file was not found.

Up
get /user/{userId}/model/{modelId}/{runtime}/status
Get the current build status (getBuildStatus)

Path parameters

userId (required)
Path Parameter — default: null
modelId (required)
Path Parameter — default: null
runtime (required)
Path Parameter — default: null

Return type

MavenBuildHandle

Example data

Content-Type: application/json
{
  "location" : "https://openapi-generator.tech",
  "id" : "id",
  "status" : "Scheduled"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

[OK] Found the status for the requested project. MavenBuildHandle

401

[Unauthorized] If the provided credentials were not valid.

404

[Not Found] The project for the given id was not found.

Up
get /user/{userId}/model/{modelId}
Get the model for the given id. (getModel)

Path parameters

userId (required)
Path Parameter — default: null
modelId (required)
Path Parameter — default: null

Return type

UserModel

Example data

Content-Type: application/json
{
  "modelId" : "modelId",
  "userId" : "userId",
  "content" : "content"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

[OK] Model for the given id could be accessed. UserModel

401

[Unauthorized] If the provided access token was not valid.

404

[Not Found] The model for the given id could not be found.

Up
get /user/{userId}/models
Get the list of the given user's model ids. (getModels)

Path parameters

userId (required)
Path Parameter — default: null

Return type

UserModelList

Example data

Content-Type: application/json
{
  "models" : [ {
    "modelId" : "modelId",
    "userId" : "userId",
    "content" : "content"
  }, {
    "modelId" : "modelId",
    "userId" : "userId",
    "content" : "content"
  } ],
  "userId" : "userId"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

[OK] List of user model definitions. UserModelList

401

[Unauthorized] If the provided access token was not valid.

Up
get /user/{userId}/state
Fetch the current state for the given user id (getUserState)

Path parameters

userId (required)
Path Parameter — default: null

Return type

UserState

Example data

Content-Type: application/json
{
  "firstName" : "firstName",
  "lastLogin" : "2000-01-23T04:56:07.000+00:00",
  "lastName" : "lastName",
  "id" : "id",
  "logins" : 0,
  "email" : "email",
  "status" : "status",
  "username" : "username"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

[OK] Found the requested user state. UserState

401

[Unauthorized] If the provided access token was not valid.

Up
put /users
Register a new user with Keycloak (registerUser)

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

UserRegister UserRegister (optional)
Body Parameter

Responses

201

[Created] User was successfully created to Keycloak.

409

[Conflict] If the user already exists in Keycloak.

Up
post /user/{userId}/model/{modelId}
Update the given model. (updateModel)

Path parameters

userId (required)
Path Parameter — default: null
modelId (required)
Path Parameter — default: null

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

UserModel UserModel (optional)
Body Parameter

Responses

200

[OK] Successfully updated the model.

401

[Unauthorized] If the provided access token was not valid.

Up
post /users/login
Login the user with Keycloak (userLogin)

Consumes

This API call consumes the following media types via the Content-Type request header:

Form parameters

username (required)
Form Parameter — default: null
password (required)
Form Parameter — default: null

Return type

UserTokens

Example data

Content-Type: application/json
{
  "accessToken" : "accessToken",
  "userId" : "userId",
  "refreshToken" : "refreshToken"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

[OK] Successful user login. UserTokens

401

[Unauthorized] If the provided credentials were not valid.

Models

[ Jump to Methods ]

Table of Contents

  1. MavenBuildHandle -
  2. UserModel -
  3. UserModelAdd -
  4. UserModelList -
  5. UserRegister -
  6. UserState -
  7. UserTokens -
  8. inline_object -

MavenBuildHandle - Up

id
location
URI format: uri
status
Enum:
Scheduled
Running
Success
Failure
Removed
NotFound

UserModel - Up

content (optional)
modelId
userId

UserModelAdd - Up

content
userId

UserModelList - Up

models (optional)
userId

UserRegister - Up

email
firstName
lastName
password
username

UserState - Up

email
firstName
id
lastLogin
Date format: date-time
lastName
logins (optional)
Integer format: int32
status
username

UserTokens - Up

accessToken
refreshToken
userId

inline_object - Up

username
password