public interface UploadSchemasApi
Modifier and Type | Method and Description |
---|---|
retrofit2.Call<UploadSchema> |
createOrUpdateUploadSchema(UploadSchema uploadSchema)
Deprecated.
|
retrofit2.Call<UploadSchema> |
createUploadSchema(UploadSchema uploadSchema)
Deprecated.
|
retrofit2.Call<Message> |
deleteAllRevisionsOfUploadSchema(String schemaId,
Boolean physical)
Deprecated.
|
retrofit2.Call<Message> |
deleteUploadSchema(String schemaId,
Long revision,
Boolean physical)
Deprecated.
|
retrofit2.Call<UploadSchemaList> |
getAllRevisionsOfUploadSchema(String schemaId,
Boolean includeDeleted)
Deprecated.
|
retrofit2.Call<UploadSchema> |
getMostRecentUploadSchema(String schemaId)
Deprecated.
|
retrofit2.Call<UploadSchemaList> |
getMostRecentUploadSchemas(Boolean includeDeleted)
Deprecated.
|
retrofit2.Call<UploadSchema> |
getUploadSchema(String schemaId,
Long revision)
Deprecated.
|
retrofit2.Call<UploadSchema> |
updateUploadSchema(String schemaId,
Long revision,
UploadSchema uploadSchema)
Deprecated.
|
@Deprecated @Headers(value="Content-Type:application/json") @POST(value="v3/uploadschemas") retrofit2.Call<UploadSchema> createOrUpdateUploadSchema(@Body UploadSchema uploadSchema)
uploadSchema
- (required)@Deprecated @Headers(value="Content-Type:application/json") @POST(value="v4/uploadschemas") retrofit2.Call<UploadSchema> createUploadSchema(@Body UploadSchema uploadSchema)
uploadSchema
- (required)@Deprecated @Headers(value="Content-Type:application/json") @DELETE(value="v3/uploadschemas/{schemaId}") retrofit2.Call<Message> deleteAllRevisionsOfUploadSchema(@Path(value="schemaId") String schemaId, @Query(value="physical") Boolean physical)
schemaId
- Upload schema ID (required)physical
- Physically delete the upload schema (administrators only; this is always false for developers) (optional, default to false)@Deprecated @Headers(value="Content-Type:application/json") @DELETE(value="v3/uploadschemas/{schemaId}/revisions/{revision}") retrofit2.Call<Message> deleteUploadSchema(@Path(value="schemaId") String schemaId, @Path(value="revision") Long revision, @Query(value="physical") Boolean physical)
schemaId
- Upload schema ID (required)revision
- Revision number (required)physical
- Physically delete the upload schema (administrators only; this is always false for developers) (optional, default to false)@Deprecated @Headers(value="Content-Type:application/json") @GET(value="v3/uploadschemas/{schemaId}") retrofit2.Call<UploadSchemaList> getAllRevisionsOfUploadSchema(@Path(value="schemaId") String schemaId, @Query(value="includeDeleted") Boolean includeDeleted)
schemaId
- Upload schema ID (required)includeDeleted
- Should deleted upload schemas be returned in results? (optional, default to false)@Deprecated @Headers(value="Content-Type:application/json") @GET(value="v3/uploadschemas/{schemaId}/recent") retrofit2.Call<UploadSchema> getMostRecentUploadSchema(@Path(value="schemaId") String schemaId)
schemaId
- Upload schema ID (required)@Deprecated @Headers(value="Content-Type:application/json") @GET(value="v3/uploadschemas") retrofit2.Call<UploadSchemaList> getMostRecentUploadSchemas(@Query(value="includeDeleted") Boolean includeDeleted)
includeDeleted
- Should deleted upload schemas be returned in results? (optional, default to false)@Deprecated @Headers(value="Content-Type:application/json") @GET(value="v3/uploadschemas/{schemaId}/revisions/{revision}") retrofit2.Call<UploadSchema> getUploadSchema(@Path(value="schemaId") String schemaId, @Path(value="revision") Long revision)
schemaId
- Upload schema ID (required)revision
- Revision number (required)@Deprecated @Headers(value="Content-Type:application/json") @POST(value="v4/uploadschemas/{schemaId}/revisions/{revision}") retrofit2.Call<UploadSchema> updateUploadSchema(@Path(value="schemaId") String schemaId, @Path(value="revision") Long revision, @Body UploadSchema uploadSchema)
schemaId
- Upload schema ID (required)revision
- Revision number (required)uploadSchema
- (required)Copyright © 2023 Sage Bionetworks. All rights reserved.