Skip to content

Integrate reviewer \w REST API #198

Open
@bzz

Description

@bzz

As soon as there is a

we would need to call an instance of this REST API through a configurable URL.

REST API input:

  • 2 UASTs (optional)

REST API output:

  • data that need to be shown in reviewer UI

Preliminary suggested by @vmarkovtsev JSON in details

[
{
    "tab": "first scheme",
    "object1": [
        {"feature": "name1", "type": "number", "value": 100500},
        {"feature": "name2", "type": "hash", "value": "abcdef0123456789"}
    ],
    "object2": [
        {"feature": "name1", "type": "number", "value": 100501},
        {"feature": "name2", "type": "hash", "value": "abcdef1234567890"}
    ],
    "pair": [
        {"feature": "score", "type": "number", "value": 0.95}
    ],
}, {
    "tab": "second scheme",
    "object1": [
        {"feature": "name1", "type": "number", "value": 100500},
        {"feature": "name2", "type": "hash", "value": "abcdef0123456789"}
    ],
    "object2": [
        {"feature": "name1", "type": "number", "value": 100501},
        {"feature": "name2", "type": "hash", "value": "abcdef1234567890"}
    ],
    "pair": [
        {"feature": "score", "type": "number", "value": 0.95}
    ],
}
]

but @mcuadros suggested using a simple structure, that as much as possible can be just "shown" or printed in the reviewer UI.

Part of this issue is to determine this simplest-possible, but extensible format.

Metadata

Metadata

Assignees

Labels

blockedThe development cannot be started not continued due to external dependenciesfeature-requestNew feature or request form the users

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions