Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Config:

image-20240819-173822.png

Config Field

Description

Source API Type

It specifies the type of API being used as the source to query records.

Source API Type is of 2 types namely: Model and URL.

Note:

  • By default, Model is chosen as Source API Type.

  • For now, we use API Models created in layout as Source API Type.

Model

It defines the API model associated with the Source API Type chosen.

Note: This option is only visible, if one chooses Source API Type as Model.

Authorization Type

It specifies the type of authorization required for the API.

Note: This option is only visible, if one chooses Source API Type as URL.

Relative URL

It indicates the relative URL path for the API endpoint.

Note: This option is only visible, if one chooses Source API Type as URL.

Method

It defines the HTTP method (e.g., GET, POST) used for the API request.

Note: This option is only visible, if one chooses Source API Type as URL.

Is Request Array

If checked, it indicates whether the request is an array of objects.

Note: This option is only visible, if one chooses Source API Type as URL.

Query Params

It lists the query parameters included in the API request. You can explore more about Query Params here.

Note: This option is only visible, if one chooses Source API Type as URL.

Request Body

It contains the data sent in the body of the API request. You can explore more about Request Body here.

Note: This option is only visible, if one chooses Source API Type as URL.

Responses

It defines the expected responses from the API. You can explore more about Responses here.

Note: This option is only visible, if one chooses Source API Type as URL.

Query Params:

image-20240819-181104.png

Params Field

Description

Label

A user-friendly name for the query params, used for easy identification within the application.

Name

The unique identifier for the query params, typically used in code or within merge text.

Field Type

It defines the type of input (e.g., text, number) for the parameter.

Required

If checked, the parameter becomes mandatory.

Is Array ?

It specifies if the parameter can accept multiple values.

Default Value

It sets the default value for the parameter, if none is provided.

Request Body:

image-20240819-181159.png

Params Field

Description

Label

A user-friendly name for the request body, used for easy identification within the application.

Name

The unique identifier for the request body, typically used in code or within merge text.

Field Type

It defines the type of input (e.g., text, number) for the parameter.

Required

If checked, the request body becomes mandatory.

Is Array ?

It specifies if the request body can accept multiple values.

Default Value

It sets the default value for the request body, if none is provided.

Responses:

image-20240819-181401.png

Response Field

Description

Code

It indicates the status code returned by the API.

Is Response Array ?

It specifies whether the response consists of an array of objects.

Response Body

It contains the data returned in the response. Response body modal is same as request body modal, you can explore here, just rephrase request as response in the modal.

Action Details:

image-20240819-181823.png

//Action Details ~ Workflows

Error rendering macro 'include' : com.atlassian.renderer.v2.macro.MacroException: No page title provided.
  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.