Skip to content

Proposal for availability files #70

@jbfaden

Description

@jbfaden

There was a brief discussion about how availability might be done with HAPI servers. The gist of the conclusion is that the info would contain a reference to another dataset which describes the availability of the first data set. I'll make a proposal for how this would be done beyond that.
The info request for "http://hapi-server.org/hapi/info?id=0B000800408DD710" might return:

"x_availability":"availability/0B000800408DD710"

which would be a dataset id on the same server which should have four columns: time,endTime,code,message

where code would be either "200" or "204". Note there is no requirement of endTime, other than it would be later than time. 200 indicates data will be found in this interval, and 204 (empty response) indicates no data will be found in the interval. When only 200 is returned, one may assume that the opposite intervals do not have data. When only 204 is returned, one may assume that the opposite intervals do have data. I don't believe clients would necessarily be bound to being overly precise. For example, if 90% of a day contains data, and 10% is a typical missing-data rate, then the entire day could be included in the present list.

Note: existing clients are supported because this is just another dataset.

I would also suggest that availability could refer to another server, like so:

"x_availability":"http://hapi-server.org/availability/hapi?id=0B000800408DD710"

because this would allow a server to be indexed externally.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions