Skip to content

Commit 5ed431a

Browse files
committed
Update api schema
1 parent d52a36b commit 5ed431a

File tree

3 files changed

+76
-2
lines changed

3 files changed

+76
-2
lines changed

client/src/api/schema/schema.ts

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1011,6 +1011,33 @@ export interface paths {
10111011
patch?: never;
10121012
trace?: never;
10131013
};
1014+
"/api/display_applications/create_link": {
1015+
parameters: {
1016+
query?: never;
1017+
header?: never;
1018+
path?: never;
1019+
cookie?: never;
1020+
};
1021+
get?: never;
1022+
put?: never;
1023+
/**
1024+
* Creates a link for display applications.
1025+
* @description Creates a link for display applications.
1026+
*
1027+
* :param app_name: display application name
1028+
* :type app_name: string
1029+
* :param dataset_id: encoded dataset_id
1030+
* :type dataset_id: string
1031+
* :param link_name: link name
1032+
* :type link_name: string
1033+
*/
1034+
post: operations["display_applications_create_link_api_display_applications_create_link_post"];
1035+
delete?: never;
1036+
options?: never;
1037+
head?: never;
1038+
patch?: never;
1039+
trace?: never;
1040+
};
10141041
"/api/display_applications/reload": {
10151042
parameters: {
10161043
query?: never;
@@ -27031,6 +27058,53 @@ export interface operations {
2703127058
};
2703227059
};
2703327060
};
27061+
display_applications_create_link_api_display_applications_create_link_post: {
27062+
parameters: {
27063+
query?: never;
27064+
header?: {
27065+
/** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */
27066+
"run-as"?: string | null;
27067+
};
27068+
path?: never;
27069+
cookie?: never;
27070+
};
27071+
requestBody?: {
27072+
content: {
27073+
"application/json": {
27074+
[key: string]: unknown;
27075+
} | null;
27076+
};
27077+
};
27078+
responses: {
27079+
/** @description Successful Response */
27080+
200: {
27081+
headers: {
27082+
[name: string]: unknown;
27083+
};
27084+
content: {
27085+
"application/json": unknown;
27086+
};
27087+
};
27088+
/** @description Request Error */
27089+
"4XX": {
27090+
headers: {
27091+
[name: string]: unknown;
27092+
};
27093+
content: {
27094+
"application/json": components["schemas"]["MessageExceptionModel"];
27095+
};
27096+
};
27097+
/** @description Server Error */
27098+
"5XX": {
27099+
headers: {
27100+
[name: string]: unknown;
27101+
};
27102+
content: {
27103+
"application/json": components["schemas"]["MessageExceptionModel"];
27104+
};
27105+
};
27106+
};
27107+
};
2703427108
display_applications_reload_api_display_applications_reload_post: {
2703527109
parameters: {
2703627110
query?: never;

client/src/components/Visualizations/DisplayApplication.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ async function requestLink() {
3838
app_name: props.appName,
3939
dataset_id: props.datasetId,
4040
link_name: props.linkName,
41-
}
41+
};
4242
try {
4343
const buildUrl = withPrefix("/api/display_applications/create_link");
4444
const { data } = await axios.post(buildUrl, params);

client/src/components/Visualizations/DisplayApplications.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ function getUrl(link) {
5050
</b-alert>
5151
</DatasetProvider>
5252
</div>
53-
</template>
53+
</template>

0 commit comments

Comments
 (0)