Skip to content

/:channel/content/:node (posts) not respecting parameters (max/after) #110

@scholary-tim

Description

@scholary-tim

Re: https://buddycloud.org/wiki/buddycloud_HTTP_API#.2F:channel.2Fcontent.2F:node

If I try to GET: http://api.buddycloud.org/tjdurden2@buddycloud.org/content/posts?asdfsdf=adsfsadf - I would expect it to fail (possibly 400 response?), as the param is not recognised/erroneous.

According to the wiki, only the 'max' and 'after' params should be allowed for this request.

At present, neither the max/after params are respected, nor is there validation to ensure the correct params are passed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions