aboutsummaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api-spec/src/mimetypes.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/fatcat-api-spec/src/mimetypes.rs')
-rw-r--r--rust/fatcat-api-spec/src/mimetypes.rs316
1 files changed, 316 insertions, 0 deletions
diff --git a/rust/fatcat-api-spec/src/mimetypes.rs b/rust/fatcat-api-spec/src/mimetypes.rs
index e0683dbb..772a1066 100644
--- a/rust/fatcat-api-spec/src/mimetypes.rs
+++ b/rust/fatcat-api-spec/src/mimetypes.rs
@@ -14,6 +14,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for CreateContainer
lazy_static! {
+ pub static ref CREATE_CONTAINER_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for CreateContainer
+ lazy_static! {
pub static ref CREATE_CONTAINER_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for CreateContainer
@@ -30,6 +34,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for CreateContainerBatch
lazy_static! {
+ pub static ref CREATE_CONTAINER_BATCH_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for CreateContainerBatch
+ lazy_static! {
pub static ref CREATE_CONTAINER_BATCH_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for CreateContainerBatch
@@ -46,6 +54,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for DeleteContainer
lazy_static! {
+ pub static ref DELETE_CONTAINER_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for DeleteContainer
+ lazy_static! {
pub static ref DELETE_CONTAINER_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for DeleteContainer
@@ -62,6 +74,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for DeleteContainerEdit
lazy_static! {
+ pub static ref DELETE_CONTAINER_EDIT_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for DeleteContainerEdit
+ lazy_static! {
pub static ref DELETE_CONTAINER_EDIT_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for DeleteContainerEdit
@@ -78,6 +94,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetContainer
lazy_static! {
+ pub static ref GET_CONTAINER_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetContainer
+ lazy_static! {
pub static ref GET_CONTAINER_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetContainer
@@ -94,6 +114,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetContainerEdit
lazy_static! {
+ pub static ref GET_CONTAINER_EDIT_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetContainerEdit
+ lazy_static! {
pub static ref GET_CONTAINER_EDIT_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetContainerEdit
@@ -110,6 +134,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetContainerHistory
lazy_static! {
+ pub static ref GET_CONTAINER_HISTORY_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetContainerHistory
+ lazy_static! {
pub static ref GET_CONTAINER_HISTORY_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetContainerHistory
@@ -126,6 +154,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetContainerRedirects
lazy_static! {
+ pub static ref GET_CONTAINER_REDIRECTS_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetContainerRedirects
+ lazy_static! {
pub static ref GET_CONTAINER_REDIRECTS_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetContainerRedirects
@@ -142,6 +174,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetContainerRevision
lazy_static! {
+ pub static ref GET_CONTAINER_REVISION_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetContainerRevision
+ lazy_static! {
pub static ref GET_CONTAINER_REVISION_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetContainerRevision
@@ -158,6 +194,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for LookupContainer
lazy_static! {
+ pub static ref LOOKUP_CONTAINER_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for LookupContainer
+ lazy_static! {
pub static ref LOOKUP_CONTAINER_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for LookupContainer
@@ -174,6 +214,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for UpdateContainer
lazy_static! {
+ pub static ref UPDATE_CONTAINER_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for UpdateContainer
+ lazy_static! {
pub static ref UPDATE_CONTAINER_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for UpdateContainer
@@ -190,6 +234,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for CreateCreator
lazy_static! {
+ pub static ref CREATE_CREATOR_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for CreateCreator
+ lazy_static! {
pub static ref CREATE_CREATOR_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for CreateCreator
@@ -206,6 +254,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for CreateCreatorBatch
lazy_static! {
+ pub static ref CREATE_CREATOR_BATCH_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for CreateCreatorBatch
+ lazy_static! {
pub static ref CREATE_CREATOR_BATCH_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for CreateCreatorBatch
@@ -222,6 +274,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for DeleteCreator
lazy_static! {
+ pub static ref DELETE_CREATOR_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for DeleteCreator
+ lazy_static! {
pub static ref DELETE_CREATOR_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for DeleteCreator
@@ -238,6 +294,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for DeleteCreatorEdit
lazy_static! {
+ pub static ref DELETE_CREATOR_EDIT_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for DeleteCreatorEdit
+ lazy_static! {
pub static ref DELETE_CREATOR_EDIT_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for DeleteCreatorEdit
@@ -254,6 +314,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetCreator
lazy_static! {
+ pub static ref GET_CREATOR_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetCreator
+ lazy_static! {
pub static ref GET_CREATOR_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetCreator
@@ -270,6 +334,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetCreatorEdit
lazy_static! {
+ pub static ref GET_CREATOR_EDIT_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetCreatorEdit
+ lazy_static! {
pub static ref GET_CREATOR_EDIT_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetCreatorEdit
@@ -286,6 +354,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetCreatorHistory
lazy_static! {
+ pub static ref GET_CREATOR_HISTORY_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetCreatorHistory
+ lazy_static! {
pub static ref GET_CREATOR_HISTORY_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetCreatorHistory
@@ -302,6 +374,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetCreatorRedirects
lazy_static! {
+ pub static ref GET_CREATOR_REDIRECTS_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetCreatorRedirects
+ lazy_static! {
pub static ref GET_CREATOR_REDIRECTS_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetCreatorRedirects
@@ -318,6 +394,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetCreatorReleases
lazy_static! {
+ pub static ref GET_CREATOR_RELEASES_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetCreatorReleases
+ lazy_static! {
pub static ref GET_CREATOR_RELEASES_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetCreatorReleases
@@ -334,6 +414,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetCreatorRevision
lazy_static! {
+ pub static ref GET_CREATOR_REVISION_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetCreatorRevision
+ lazy_static! {
pub static ref GET_CREATOR_REVISION_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetCreatorRevision
@@ -350,6 +434,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for LookupCreator
lazy_static! {
+ pub static ref LOOKUP_CREATOR_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for LookupCreator
+ lazy_static! {
pub static ref LOOKUP_CREATOR_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for LookupCreator
@@ -366,6 +454,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for UpdateCreator
lazy_static! {
+ pub static ref UPDATE_CREATOR_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for UpdateCreator
+ lazy_static! {
pub static ref UPDATE_CREATOR_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for UpdateCreator
@@ -482,6 +574,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for CreateFile
lazy_static! {
+ pub static ref CREATE_FILE_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for CreateFile
+ lazy_static! {
pub static ref CREATE_FILE_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for CreateFile
@@ -498,6 +594,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for CreateFileBatch
lazy_static! {
+ pub static ref CREATE_FILE_BATCH_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for CreateFileBatch
+ lazy_static! {
pub static ref CREATE_FILE_BATCH_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for CreateFileBatch
@@ -514,6 +614,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for DeleteFile
lazy_static! {
+ pub static ref DELETE_FILE_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for DeleteFile
+ lazy_static! {
pub static ref DELETE_FILE_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for DeleteFile
@@ -530,6 +634,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for DeleteFileEdit
lazy_static! {
+ pub static ref DELETE_FILE_EDIT_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for DeleteFileEdit
+ lazy_static! {
pub static ref DELETE_FILE_EDIT_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for DeleteFileEdit
@@ -546,6 +654,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetFile
lazy_static! {
+ pub static ref GET_FILE_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetFile
+ lazy_static! {
pub static ref GET_FILE_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetFile
@@ -562,6 +674,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetFileEdit
lazy_static! {
+ pub static ref GET_FILE_EDIT_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetFileEdit
+ lazy_static! {
pub static ref GET_FILE_EDIT_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetFileEdit
@@ -578,6 +694,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetFileHistory
lazy_static! {
+ pub static ref GET_FILE_HISTORY_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetFileHistory
+ lazy_static! {
pub static ref GET_FILE_HISTORY_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetFileHistory
@@ -594,6 +714,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetFileRedirects
lazy_static! {
+ pub static ref GET_FILE_REDIRECTS_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetFileRedirects
+ lazy_static! {
pub static ref GET_FILE_REDIRECTS_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetFileRedirects
@@ -610,6 +734,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetFileRevision
lazy_static! {
+ pub static ref GET_FILE_REVISION_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetFileRevision
+ lazy_static! {
pub static ref GET_FILE_REVISION_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetFileRevision
@@ -626,6 +754,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for LookupFile
lazy_static! {
+ pub static ref LOOKUP_FILE_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for LookupFile
+ lazy_static! {
pub static ref LOOKUP_FILE_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for LookupFile
@@ -642,6 +774,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for UpdateFile
lazy_static! {
+ pub static ref UPDATE_FILE_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for UpdateFile
+ lazy_static! {
pub static ref UPDATE_FILE_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for UpdateFile
@@ -658,6 +794,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for CreateFileset
lazy_static! {
+ pub static ref CREATE_FILESET_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for CreateFileset
+ lazy_static! {
pub static ref CREATE_FILESET_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for CreateFileset
@@ -674,6 +814,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for CreateFilesetBatch
lazy_static! {
+ pub static ref CREATE_FILESET_BATCH_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for CreateFilesetBatch
+ lazy_static! {
pub static ref CREATE_FILESET_BATCH_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for CreateFilesetBatch
@@ -690,6 +834,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for DeleteFileset
lazy_static! {
+ pub static ref DELETE_FILESET_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for DeleteFileset
+ lazy_static! {
pub static ref DELETE_FILESET_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for DeleteFileset
@@ -706,6 +854,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for DeleteFilesetEdit
lazy_static! {
+ pub static ref DELETE_FILESET_EDIT_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for DeleteFilesetEdit
+ lazy_static! {
pub static ref DELETE_FILESET_EDIT_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for DeleteFilesetEdit
@@ -722,6 +874,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetFileset
lazy_static! {
+ pub static ref GET_FILESET_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetFileset
+ lazy_static! {
pub static ref GET_FILESET_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetFileset
@@ -738,6 +894,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetFilesetEdit
lazy_static! {
+ pub static ref GET_FILESET_EDIT_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetFilesetEdit
+ lazy_static! {
pub static ref GET_FILESET_EDIT_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetFilesetEdit
@@ -754,6 +914,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetFilesetHistory
lazy_static! {
+ pub static ref GET_FILESET_HISTORY_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetFilesetHistory
+ lazy_static! {
pub static ref GET_FILESET_HISTORY_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetFilesetHistory
@@ -770,6 +934,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetFilesetRedirects
lazy_static! {
+ pub static ref GET_FILESET_REDIRECTS_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetFilesetRedirects
+ lazy_static! {
pub static ref GET_FILESET_REDIRECTS_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetFilesetRedirects
@@ -786,6 +954,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetFilesetRevision
lazy_static! {
+ pub static ref GET_FILESET_REVISION_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetFilesetRevision
+ lazy_static! {
pub static ref GET_FILESET_REVISION_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetFilesetRevision
@@ -802,6 +974,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for UpdateFileset
lazy_static! {
+ pub static ref UPDATE_FILESET_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for UpdateFileset
+ lazy_static! {
pub static ref UPDATE_FILESET_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for UpdateFileset
@@ -818,6 +994,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for CreateRelease
lazy_static! {
+ pub static ref CREATE_RELEASE_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for CreateRelease
+ lazy_static! {
pub static ref CREATE_RELEASE_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for CreateRelease
@@ -834,6 +1014,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for CreateReleaseBatch
lazy_static! {
+ pub static ref CREATE_RELEASE_BATCH_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for CreateReleaseBatch
+ lazy_static! {
pub static ref CREATE_RELEASE_BATCH_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for CreateReleaseBatch
@@ -850,6 +1034,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for CreateWork
lazy_static! {
+ pub static ref CREATE_WORK_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for CreateWork
+ lazy_static! {
pub static ref CREATE_WORK_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for CreateWork
@@ -866,6 +1054,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for DeleteRelease
lazy_static! {
+ pub static ref DELETE_RELEASE_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for DeleteRelease
+ lazy_static! {
pub static ref DELETE_RELEASE_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for DeleteRelease
@@ -882,6 +1074,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for DeleteReleaseEdit
lazy_static! {
+ pub static ref DELETE_RELEASE_EDIT_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for DeleteReleaseEdit
+ lazy_static! {
pub static ref DELETE_RELEASE_EDIT_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for DeleteReleaseEdit
@@ -898,6 +1094,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetRelease
lazy_static! {
+ pub static ref GET_RELEASE_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetRelease
+ lazy_static! {
pub static ref GET_RELEASE_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetRelease
@@ -914,6 +1114,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetReleaseEdit
lazy_static! {
+ pub static ref GET_RELEASE_EDIT_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetReleaseEdit
+ lazy_static! {
pub static ref GET_RELEASE_EDIT_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetReleaseEdit
@@ -930,6 +1134,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetReleaseFiles
lazy_static! {
+ pub static ref GET_RELEASE_FILES_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetReleaseFiles
+ lazy_static! {
pub static ref GET_RELEASE_FILES_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetReleaseFiles
@@ -946,6 +1154,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetReleaseFilesets
lazy_static! {
+ pub static ref GET_RELEASE_FILESETS_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetReleaseFilesets
+ lazy_static! {
pub static ref GET_RELEASE_FILESETS_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetReleaseFilesets
@@ -962,6 +1174,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetReleaseHistory
lazy_static! {
+ pub static ref GET_RELEASE_HISTORY_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetReleaseHistory
+ lazy_static! {
pub static ref GET_RELEASE_HISTORY_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetReleaseHistory
@@ -978,6 +1194,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetReleaseRedirects
lazy_static! {
+ pub static ref GET_RELEASE_REDIRECTS_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetReleaseRedirects
+ lazy_static! {
pub static ref GET_RELEASE_REDIRECTS_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetReleaseRedirects
@@ -994,6 +1214,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetReleaseRevision
lazy_static! {
+ pub static ref GET_RELEASE_REVISION_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetReleaseRevision
+ lazy_static! {
pub static ref GET_RELEASE_REVISION_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetReleaseRevision
@@ -1010,6 +1234,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetReleaseWebcaptures
lazy_static! {
+ pub static ref GET_RELEASE_WEBCAPTURES_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetReleaseWebcaptures
+ lazy_static! {
pub static ref GET_RELEASE_WEBCAPTURES_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetReleaseWebcaptures
@@ -1026,6 +1254,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for LookupRelease
lazy_static! {
+ pub static ref LOOKUP_RELEASE_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for LookupRelease
+ lazy_static! {
pub static ref LOOKUP_RELEASE_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for LookupRelease
@@ -1042,6 +1274,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for UpdateRelease
lazy_static! {
+ pub static ref UPDATE_RELEASE_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for UpdateRelease
+ lazy_static! {
pub static ref UPDATE_RELEASE_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for UpdateRelease
@@ -1058,6 +1294,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for CreateWebcapture
lazy_static! {
+ pub static ref CREATE_WEBCAPTURE_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for CreateWebcapture
+ lazy_static! {
pub static ref CREATE_WEBCAPTURE_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for CreateWebcapture
@@ -1074,6 +1314,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for CreateWebcaptureBatch
lazy_static! {
+ pub static ref CREATE_WEBCAPTURE_BATCH_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for CreateWebcaptureBatch
+ lazy_static! {
pub static ref CREATE_WEBCAPTURE_BATCH_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for CreateWebcaptureBatch
@@ -1090,6 +1334,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for DeleteWebcapture
lazy_static! {
+ pub static ref DELETE_WEBCAPTURE_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for DeleteWebcapture
+ lazy_static! {
pub static ref DELETE_WEBCAPTURE_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for DeleteWebcapture
@@ -1106,6 +1354,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for DeleteWebcaptureEdit
lazy_static! {
+ pub static ref DELETE_WEBCAPTURE_EDIT_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for DeleteWebcaptureEdit
+ lazy_static! {
pub static ref DELETE_WEBCAPTURE_EDIT_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for DeleteWebcaptureEdit
@@ -1122,6 +1374,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetWebcapture
lazy_static! {
+ pub static ref GET_WEBCAPTURE_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetWebcapture
+ lazy_static! {
pub static ref GET_WEBCAPTURE_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetWebcapture
@@ -1138,6 +1394,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetWebcaptureEdit
lazy_static! {
+ pub static ref GET_WEBCAPTURE_EDIT_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetWebcaptureEdit
+ lazy_static! {
pub static ref GET_WEBCAPTURE_EDIT_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetWebcaptureEdit
@@ -1154,6 +1414,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetWebcaptureHistory
lazy_static! {
+ pub static ref GET_WEBCAPTURE_HISTORY_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetWebcaptureHistory
+ lazy_static! {
pub static ref GET_WEBCAPTURE_HISTORY_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetWebcaptureHistory
@@ -1170,6 +1434,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetWebcaptureRedirects
lazy_static! {
+ pub static ref GET_WEBCAPTURE_REDIRECTS_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetWebcaptureRedirects
+ lazy_static! {
pub static ref GET_WEBCAPTURE_REDIRECTS_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetWebcaptureRedirects
@@ -1186,6 +1454,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetWebcaptureRevision
lazy_static! {
+ pub static ref GET_WEBCAPTURE_REVISION_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetWebcaptureRevision
+ lazy_static! {
pub static ref GET_WEBCAPTURE_REVISION_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetWebcaptureRevision
@@ -1202,6 +1474,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for UpdateWebcapture
lazy_static! {
+ pub static ref UPDATE_WEBCAPTURE_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for UpdateWebcapture
+ lazy_static! {
pub static ref UPDATE_WEBCAPTURE_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for UpdateWebcapture
@@ -1218,6 +1494,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for CreateWorkBatch
lazy_static! {
+ pub static ref CREATE_WORK_BATCH_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for CreateWorkBatch
+ lazy_static! {
pub static ref CREATE_WORK_BATCH_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for CreateWorkBatch
@@ -1234,6 +1514,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for DeleteWork
lazy_static! {
+ pub static ref DELETE_WORK_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for DeleteWork
+ lazy_static! {
pub static ref DELETE_WORK_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for DeleteWork
@@ -1250,6 +1534,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for DeleteWorkEdit
lazy_static! {
+ pub static ref DELETE_WORK_EDIT_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for DeleteWorkEdit
+ lazy_static! {
pub static ref DELETE_WORK_EDIT_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for DeleteWorkEdit
@@ -1266,6 +1554,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetWork
lazy_static! {
+ pub static ref GET_WORK_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetWork
+ lazy_static! {
pub static ref GET_WORK_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetWork
@@ -1282,6 +1574,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetWorkEdit
lazy_static! {
+ pub static ref GET_WORK_EDIT_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetWorkEdit
+ lazy_static! {
pub static ref GET_WORK_EDIT_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetWorkEdit
@@ -1298,6 +1594,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetWorkHistory
lazy_static! {
+ pub static ref GET_WORK_HISTORY_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetWorkHistory
+ lazy_static! {
pub static ref GET_WORK_HISTORY_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetWorkHistory
@@ -1314,6 +1614,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetWorkRedirects
lazy_static! {
+ pub static ref GET_WORK_REDIRECTS_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetWorkRedirects
+ lazy_static! {
pub static ref GET_WORK_REDIRECTS_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetWorkRedirects
@@ -1330,6 +1634,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetWorkReleases
lazy_static! {
+ pub static ref GET_WORK_RELEASES_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetWorkReleases
+ lazy_static! {
pub static ref GET_WORK_RELEASES_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetWorkReleases
@@ -1346,6 +1654,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for GetWorkRevision
lazy_static! {
+ pub static ref GET_WORK_REVISION_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for GetWorkRevision
+ lazy_static! {
pub static ref GET_WORK_REVISION_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for GetWorkRevision
@@ -1362,6 +1674,10 @@ pub mod responses {
}
/// Create Mime objects for the response content types for UpdateWork
lazy_static! {
+ pub static ref UPDATE_WORK_NOT_AUTHORIZED: Mime = mime!(Application / Json);
+ }
+ /// Create Mime objects for the response content types for UpdateWork
+ lazy_static! {
pub static ref UPDATE_WORK_NOT_FOUND: Mime = mime!(Application / Json);
}
/// Create Mime objects for the response content types for UpdateWork