Skip to content

Commit

Permalink
Remove deprecation flag
Browse files Browse the repository at this point in the history
  • Loading branch information
davelopez committed Dec 8, 2023
1 parent e41447b commit 31809d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
12 changes: 2 additions & 10 deletions client/src/api/schema/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -654,11 +654,7 @@ export interface paths {
head: operations["history_contents_display_api_histories__history_id__contents__history_content_id__display_head"];
};
"/api/histories/{history_id}/contents/{history_content_id}/extra_files": {
/**
* Get the list of extra files/directories associated with a dataset.
* @deprecated
* @description This endpoint is deprecated, please use `/api/datasets/{dataset_id}/extra_files` instead.
*/
/** Get the list of extra files/directories associated with a dataset. */
get: operations["extra_files_history_api_histories__history_id__contents__history_content_id__extra_files_get"];
};
"/api/histories/{history_id}/contents/{history_content_id}/metadata_file": {
Expand Down Expand Up @@ -13800,11 +13796,7 @@ export interface operations {
};
};
extra_files_history_api_histories__history_id__contents__history_content_id__extra_files_get: {
/**
* Get the list of extra files/directories associated with a dataset.
* @deprecated
* @description This endpoint is deprecated, please use `/api/datasets/{dataset_id}/extra_files` instead.
*/
/** Get the list of extra files/directories associated with a dataset. */
parameters: {
/** @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. */
header?: {
Expand Down
2 changes: 0 additions & 2 deletions lib/galaxy/webapps/galaxy/api/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,15 +244,13 @@ def update_permissions(
"/api/histories/{history_id}/contents/{history_content_id}/extra_files",
summary="Get the list of extra files/directories associated with a dataset.",
tags=["histories"],
deprecated=True,
)
def extra_files_history(
self,
trans=DependsOnTrans,
history_id: DecodedDatabaseIdField = HistoryIDPathParam,
history_content_id: DecodedDatabaseIdField = DatasetIDPathParam,
) -> DatasetExtraFiles:
"""This endpoint is deprecated, please use `/api/datasets/{dataset_id}/extra_files` instead."""
return self.service.extra_files(trans, history_content_id)

@router.get(
Expand Down

0 comments on commit 31809d5

Please sign in to comment.