GET tokens/search?token={token}&match={match}&skip={skip}&take={take}

Request Information

Authorize

Reviewer

URI Parameters

NameDescriptionTypeAdditional information
token

string

Required

match

Match

Default value is Starts

skip

integer

Default value is 0

take

integer

Default value is 100

Body Parameters

None.

Response Information

Resource Description

Collection of Token
NameDescriptionTypeAdditional information
ID

integer

None.

Text

string

Required

String length: inclusive between 1 and 100

Hash1

integer

None.

Hash2

integer

None.

CsvLine

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "text": "sample string 2",
    "hash1": 8956747294198183661,
    "hash2": 3653155946705382493,
    "csvLine": "sample string 2\t8956747294198183661\t3653155946705382493"
  },
  {
    "id": 1,
    "text": "sample string 2",
    "hash1": 8956747294198183661,
    "hash2": 3653155946705382493,
    "csvLine": "sample string 2\t8956747294198183661\t3653155946705382493"
  }
]

application/xml, text/xml

Sample:
<ArrayOfToken xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Corpora.Domain">
  <Token>
    <Hash1>8956747294198183661</Hash1>
    <Hash2>3653155946705382493</Hash2>
    <ID>1</ID>
    <Text>sample string 2</Text>
  </Token>
  <Token>
    <Hash1>8956747294198183661</Hash1>
    <Hash2>3653155946705382493</Hash2>
    <ID>1</ID>
    <Text>sample string 2</Text>
  </Token>
</ArrayOfToken>