REST schemas GkbActivityItem to GkbVisualizationEdge#
Request and response bodies of the REST API.
GkbActivityItem#
A recently published artifact.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string |
yes |
||
|
string |
yes |
||
|
string |
yes |
||
|
string (date-time) |
yes |
||
|
string |
yes |
||
|
string |
|
maxLength |
GkbActivityResponse#
Recent artifacts of a project.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
array of GkbActivityItem |
|
GkbArtifactResponse#
A stored artifact’s canonical Markdown, content hash, schema version and metadata.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string |
yes |
||
|
string |
yes |
||
|
string |
yes |
||
|
string |
yes |
maxLength |
|
|
object |
yes |
||
|
string |
yes |
GkbBrowseBounds#
Bounding boxes of an artifact’s geometry; two boxes when it crosses the antimeridian.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
array of array |
yes |
maxItems |
|
|
boolean |
|
GkbBrowseFreshness#
How current a browse result is: committed and indexed counts and whether the index has caught up.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
integer or null |
|||
|
boolean |
|
||
|
integer or null |
|||
|
string |
yes |
GkbBrowsePage#
A page of browse rows with cursors, the access path (database projection or filesystem fallback), freshness and warnings.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
one of |
yes |
||
|
yes |
|||
|
string or null |
|||
|
string or null |
|||
|
array of GkbBrowseRow |
|
maxItems |
|
|
array of string |
|
GkbBrowseRequest#
A bounded lexical navigation query, independent of canonical retrieval.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string or null |
|||
|
array or null |
|||
|
string (date-time) or null |
|||
|
string (date-time) or null |
|||
|
string (date-time) or null |
|||
|
string or null |
|||
|
integer |
|
minimum |
|
|
string or null |
|||
|
|
|
||
|
one of |
|||
|
string or null |
|||
|
string (date-time) or null |
|||
|
string (date-time) or null |
GkbBrowseRow#
Compact, length-bounded summary of one artifact, with *_truncated flags for shortened text.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string or null |
|||
|
string |
yes |
maxLength |
|
|
string (date-time) or null |
|||
|
number |
yes |
minimum |
|
|
string |
yes |
pattern |
|
|
string (date-time) |
yes |
||
|
string |
yes |
maxLength |
|
|
integer |
|
minimum |
|
|
GkbBrowseBounds or null |
|||
|
string |
yes |
maxLength |
|
|
integer |
|
minimum |
|
|
integer |
|
minimum |
|
|
array of string |
|
maxItems |
|
|
string |
yes |
maxLength |
|
|
boolean |
|
||
|
string |
yes |
maxLength |
|
|
number |
|
||
|
string or null |
|||
|
string or null |
|||
|
string |
yes |
maxLength |
|
|
string or null |
|||
|
boolean |
|
||
|
string |
yes |
maxLength |
|
|
boolean |
|
||
|
integer |
|
minimum |
|
|
array of string |
|
maxItems |
|
|
string |
yes |
maxLength |
|
|
boolean |
|
||
|
string (date-time) or null |
|||
|
string (date-time) or null |
|||
|
string |
yes |
maxLength |
GkbCommitRequest#
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
object or null |
|||
|
string or null |
GkbEvent#
One canonical GKB publication, with its project sequence and publication origin.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string |
yes |
||
|
string |
yes |
||
|
string |
yes |
||
|
string (date-time) |
yes |
||
|
EventOrigin or null |
|||
|
string |
yes |
||
|
integer |
yes |
minimum |
|
|
|
yes |
GkbEventPage#
Events after the requested sequence, oldest first; bounds as in the catalog page.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
integer or null |
|||
|
array of GkbEvent |
yes |
||
|
integer |
yes |
minimum |
GkbMapRequest#
Browse request limited to the boxes of a map viewport (one or two).
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string or null |
|||
|
array or null |
|||
|
string (date-time) or null |
|||
|
string (date-time) or null |
|||
|
string (date-time) or null |
|||
|
string or null |
|||
|
integer |
|
minimum |
|
|
string or null |
|||
|
|
|
||
|
one of |
|||
|
string or null |
|||
|
array of array |
yes |
minItems |
|
|
string (date-time) or null |
|||
|
string (date-time) or null |
GkbProjectInfo#
A project with its artifact count and latest activity.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
integer |
|
minimum |
|
|
string (date-time) or null |
|||
|
string |
yes |
GkbProjectList#
Projects returned by GET /v1/gkb/projects.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
array of GkbProjectInfo |
|
GkbProjectSummaries#
A page of project summaries; complete is false when the list may be partial.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
one of |
yes |
||
|
boolean |
|
||
|
array of GkbProjectSummary |
|
maxItems |
|
|
string or null |
GkbProjectSummary#
A project’s artifact and indexed counts and latest activity.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
integer or null |
|||
|
integer or null |
|||
|
string (date-time) or null |
|||
|
string |
yes |
maxLength |
GkbRelationship#
A typed relation between two artifacts, with its confidence.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
number |
yes |
minimum |
|
|
string |
yes |
maxLength |
|
|
string |
yes |
maxLength |
|
|
string |
yes |
maxLength |
GkbRelationshipRequest#
Request for the explicit relations of up to 100 artifacts, optionally within one project.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
array of string |
yes |
maxItems |
|
|
string or null |
GkbRelationships#
Relations found for a request; complete is false when the list may be partial.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
boolean |
|
||
|
array of GkbRelationship |
|
maxItems |
GkbSearchPageResponse#
A search page that also carries the previous cursor and whether the result is complete.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string |
yes |
||
|
boolean |
|
||
|
array of KnowledgeHit |
|
||
|
string or null |
|||
|
string or null |
|||
|
integer |
|
minimum |
GkbSearchRequest#
An artifact query plus a cursor to continue a paged search.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
array or null |
|||
|
string (date-time) or null |
|||
|
string (date-time) or null |
|||
|
string or null |
|||
|
integer |
|
minimum |
|
|
string or null |
|||
|
|
|
||
|
one of |
|||
|
string or null |
|||
|
string (date-time) or null |
|||
|
string (date-time) or null |
GkbSearchResponse#
A page of search hits with the cursor for the next page and the total match count.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string |
yes |
||
|
array of KnowledgeHit |
|
||
|
string or null |
|||
|
integer |
|
minimum |
GkbShipTileSource#
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string |
yes |
||
|
map of array or null |
yes |
||
|
string |
yes |
pattern |
|
|
integer |
yes |
exclusiveMinimum |
|
|
integer |
yes |
minimum |
|
|
string |
yes |
pattern |
|
|
string |
yes |
pattern |
|
|
string |
yes |
||
|
|
|
||
|
integer |
yes |
exclusiveMinimum |
GkbShipVisualization#
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string |
yes |
||
|
boolean |
|
||
|
string |
yes |
||
|
ShipVisualizationError or null |
|||
|
object or null |
|||
|
string |
yes |
||
|
array of GkbShipVisualizationResource |
|
||
|
one of |
yes |
||
|
boolean |
|
GkbShipVisualizationResource#
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
integer |
yes |
minimum |
|
|
string |
yes |
minLength |
|
|
string |
yes |
minLength |
|
|
string |
yes |
pattern |
|
|
string |
yes |
pattern |
|
|
string |
yes |
pattern |
GkbTimelineBucket#
Number of matching artifacts in one time bucket.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
integer |
yes |
minimum |
|
|
string (date-time) |
yes |
||
|
string (date-time) |
yes |
GkbTimelineOverview#
Time buckets of the matching artifacts, with the matching count and the full time range.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
|
|
||
|
array of GkbTimelineBucket |
|
maxItems |
|
|
yes |
|||
|
string (date-time) or null |
|||
|
string (date-time) or null |
|||
|
integer |
yes |
minimum |
|
|
array of string |
|
GkbTimelineRequest#
Browse request that also sets the time range and number of buckets (default 100, at most 200) of a timeline overview.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string or null |
|||
|
array or null |
|||
|
integer |
|
minimum |
|
|
string (date-time) or null |
|||
|
string (date-time) or null |
|||
|
string (date-time) or null |
|||
|
string or null |
|||
|
integer |
|
minimum |
|
|
string or null |
|||
|
string (date-time) or null |
|||
|
string (date-time) or null |
|||
|
|
|
||
|
one of |
|||
|
string or null |
|||
|
string (date-time) or null |
|||
|
string (date-time) or null |
GkbValidateRequest#
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string |
yes |
minLength |
GkbVisualizationEdge#
A relation between two nodes of a project graph.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string |
|
maxLength |
|
|
string |
yes |
||
|
string |
yes |