Skip to content

API 2.9: Change request regarding meta.collect object #73

@JuAlMan

Description

@JuAlMan

Using image docker.sunet.se/dc4eu/apigw:apiv28

First there seems to be a mismatch between API spec and implementation, as leaving out the collect object completely (which should be possible as it is optional) yields the following result:

{
    "data": null,
    "error": {
        "title": "internal_server_error",
        "details": null
    }
}

It only works when using an empty object.

To be discussed:
We propose that you should either leave out the collect object completely or - when submitting the object - use both parameters id and valid_until. So the whole collect object should be optional but the attributes of the collect objects itself should both be required.
We also changed this in the API v29 spec.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions