view db/gateway.sql @ 346:3bbab2173ebc

implemented disco items: - new getItemsIds method to get only ids of items, without payload or extra data - added delegation (PEP) data for disco items requests. It's a really dirty hack, but there is not clean way to do it beside rewriting the whole thing - authorized node items are returned on disco items when node is specified - if no node is specified, the nodes list is returned
author Goffi <goffi@goffi.org>
date Thu, 24 Aug 2017 01:17:28 +0200
parents 274a45d2a5ab
children
line wrap: on
line source

create table callbacks (
    service text not null,
    node text not null,
    uri text not null,
    PRIMARY KEY (service, node, uri)
);