Skip to content
This repository was archived by the owner on Oct 7, 2025. It is now read-only.
This repository was archived by the owner on Oct 7, 2025. It is now read-only.

Wrong id when retrieving uploaded file from upload_image() #61

@laudmt

Description

@laudmt

When uploading an image with upload_image the return object cytomine.models.storage.UploadedFile object has an id attribute that I though would be the cytomine image id.

Although, it is not. This id is different from the actual id of the image, that can be retrieved by fetching the ImageInstanceCollection() of the project and getting this id.

Why? Could you add more documentation to explicitely explain what are those id?
Is there a more optimised way of obtaining the real id of the image?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions