Package | Description |
---|---|
org.sagebionetworks.bridge.rest.api | |
org.sagebionetworks.bridge.rest.model |
Modifier and Type | Method and Description |
---|---|
retrofit2.Call<FileMetadata> |
ForDevelopersApi.getFile(String guid)
Get a file resource
Get a file resource for this app.
|
retrofit2.Call<FileMetadata> |
HostedFilesApi.getFile(String guid)
Get a file resource
Get a file resource for this app.
|
Modifier and Type | Method and Description |
---|---|
retrofit2.Call<GuidVersionHolder> |
ForDevelopersApi.createFile(FileMetadata fileMetadata)
Create a new file resource
Create a new file resource (this is just the metadata, and will need to be followed by the creation and upload of a FileRevision object).
|
retrofit2.Call<GuidVersionHolder> |
HostedFilesApi.createFile(FileMetadata fileMetadata)
Create a new file resource
Create a new file resource (this is just the metadata, and will need to be followed by the creation and upload of a FileRevision object).
|
retrofit2.Call<GuidVersionHolder> |
ForDevelopersApi.updateFile(String guid,
FileMetadata file)
Update an existing file resource
Update an existing file resource.
|
retrofit2.Call<GuidVersionHolder> |
HostedFilesApi.updateFile(String guid,
FileMetadata file)
Update an existing file resource
Update an existing file resource.
|
Modifier and Type | Method and Description |
---|---|
FileMetadata |
FileMetadata.deleted(Boolean deleted) |
FileMetadata |
FileMetadata.description(String description) |
FileMetadata |
FileMetadata.disposition(FileDisposition disposition) |
FileMetadata |
FileMetadata.guid(String guid) |
FileMetadata |
FileMetadata.name(String name) |
FileMetadata |
FileMetadata.version(Long version) |
Modifier and Type | Method and Description |
---|---|
List<FileMetadata> |
FileMetadataList.getItems()
Get items
|
Copyright © 2023 Sage Bionetworks. All rights reserved.