Skip to content

get_bitstreams() function doesn't work for a single bitstream UUID #54

@alanorth

Description

@alanorth

From the docs it seems we should be able to get a single bitstream but it doesn't seem to work:

In [1]: from dspace_rest_client.client import DSpaceClient

In [2]: d = DSpaceClient(api_endpoint='https://demo.dspace.org/server/api')

In [3]: my_bitstream = d.get_bitstreams(uuid='2f0bfea5-b7c8-4318-9082-3bfe0e6c85b3')
2025-09-16 07:37:05,820 - Trying to find 2f0bfea5-b7c8-4318-9082-3bfe0e6c85b3

In [4]: type(my_bitstream)
Out[5]: NoneType

Testing with this item: https://demo.dspace.org/items/a27b7b0d-b7d6-46ef-b184-251df68e3b97

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