- update(configuration, options?, sdkOptions?): Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "endpoint#1.0.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
} | {
DATA_TYPE: "endpoint#1.1.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
gridftp_control_channel_port?: null | number;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>> Parameters
Optional
options: {
payload: {
DATA_TYPE: "endpoint#1.0.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
} | {
DATA_TYPE: "endpoint#1.1.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
gridftp_control_channel_port?: null | number;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
};
} & {
headers?: Headers;
query?: {
[key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
};
}
Optional
sdkOptions: SDKOptions
Returns Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "endpoint#1.0.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
} | {
DATA_TYPE: "endpoint#1.1.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
gridftp_control_channel_port?: null | number;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>
See
https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Endpoint/#putEndpoint