Skip to content

Add label parameter to get_all_spaces method #1410

@frankiedrake

Description

@frankiedrake

There's a possibility to get all spaces by a specified label in the Confluence Rest API, but it's impossible to do this via SDK right now. As a workaround I use the following:

confluence.get('rest/api/space', params={'label':'service', 'start':0, 'limit':500})

but would be nice to have it directly in get_all_spaces method, or, maybe even better, to have some **kwargs that will be passed as a uri query.
I don't have full understanding on what these labels are (b/c I have a Confluence admin who manages it), but I can see them this way (Categories section)
image

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