Changeset View
Changeset View
Standalone View
Standalone View
swh/graphql/schema/schema.graphql
Show All 21 Lines | interface Node { | ||||
should not be used outside the GraphQL API | should not be used outside the GraphQL API | ||||
""" | """ | ||||
id: ID! | id: ID! | ||||
} | } | ||||
""" | """ | ||||
SWH merkle node object with a SWHID | SWH merkle node object with a SWHID | ||||
""" | """ | ||||
interface MerkleNode { | interface SWHNode { | ||||
""" | """ | ||||
SWHID of the object | SWHID of the object | ||||
""" | """ | ||||
swhid: SWHID! | swhid: SWHID! | ||||
} | } | ||||
""" | """ | ||||
Information about pagination | Information about pagination | ||||
▲ Show 20 Lines • Show All 340 Lines • ▼ Show 20 Lines | type SnapshotEdge { | ||||
Snapshot object | Snapshot object | ||||
""" | """ | ||||
node: Snapshot | node: Snapshot | ||||
} | } | ||||
""" | """ | ||||
A snapshot object | A snapshot object | ||||
""" | """ | ||||
type Snapshot implements MerkleNode & Node { | type Snapshot implements SWHNode & Node { | ||||
""" | """ | ||||
Unique identifier | Unique identifier | ||||
""" | """ | ||||
id: ID! | id: ID! | ||||
""" | """ | ||||
SWHID of the snapshot object | SWHID of the snapshot object | ||||
""" | """ | ||||
▲ Show 20 Lines • Show All 165 Lines • ▼ Show 20 Lines | type RevisionEdge { | ||||
Revision object | Revision object | ||||
""" | """ | ||||
node: Revision | node: Revision | ||||
} | } | ||||
""" | """ | ||||
A revision object | A revision object | ||||
""" | """ | ||||
type Revision implements MerkleNode & Node { | type Revision implements SWHNode & Node { | ||||
""" | """ | ||||
Unique identifier | Unique identifier | ||||
""" | """ | ||||
id: ID! | id: ID! | ||||
""" | """ | ||||
SWHID of the revision object | SWHID of the revision object | ||||
""" | """ | ||||
▲ Show 20 Lines • Show All 74 Lines • ▼ Show 20 Lines | enum ReleaseTargetType { | ||||
revision | revision | ||||
content | content | ||||
directory | directory | ||||
} | } | ||||
""" | """ | ||||
A release object | A release object | ||||
""" | """ | ||||
type Release implements MerkleNode & Node { | type Release implements SWHNode & Node { | ||||
""" | """ | ||||
Unique identifier | Unique identifier | ||||
""" | """ | ||||
id: ID! | id: ID! | ||||
""" | """ | ||||
SWHID of the release object | SWHID of the release object | ||||
""" | """ | ||||
▲ Show 20 Lines • Show All 102 Lines • ▼ Show 20 Lines | type DirectoryEntry { | ||||
Directory entry target object | Directory entry target object | ||||
""" | """ | ||||
target: DirectoryEntryTarget | target: DirectoryEntryTarget | ||||
} | } | ||||
""" | """ | ||||
A directory object | A directory object | ||||
""" | """ | ||||
type Directory implements MerkleNode & Node { | type Directory implements SWHNode & Node { | ||||
""" | """ | ||||
Unique identifier | Unique identifier | ||||
""" | """ | ||||
id: ID! | id: ID! | ||||
""" | """ | ||||
SWHID of the directory object | SWHID of the directory object | ||||
""" | """ | ||||
▲ Show 20 Lines • Show All 64 Lines • ▼ Show 20 Lines | type ContentLicense { | ||||
Array of strings containing the detected license names | Array of strings containing the detected license names | ||||
""" | """ | ||||
licenses: [String] | licenses: [String] | ||||
} | } | ||||
""" | """ | ||||
A content object | A content object | ||||
""" | """ | ||||
type Content implements MerkleNode & Node { | type Content implements SWHNode & Node { | ||||
""" | """ | ||||
Unique identifier | Unique identifier | ||||
""" | """ | ||||
id: ID! | id: ID! | ||||
""" | """ | ||||
SWHID of the content object | SWHID of the content object | ||||
""" | """ | ||||
▲ Show 20 Lines • Show All 259 Lines • Show Last 20 Lines |