Changeset View
Changeset View
Standalone View
Standalone View
swh/graphql/schema/schema.graphql
Show All 20 Lines | |||||
""" | """ | ||||
SWH merkle node object with a SWHID | SWH merkle node object with a SWHID | ||||
""" | """ | ||||
interface MerkleNode { | interface MerkleNode { | ||||
""" | """ | ||||
SWHID of the object | SWHID of the object | ||||
""" | """ | ||||
SWHID: SWHID! | swhid: SWHID! | ||||
} | } | ||||
""" | """ | ||||
Information about pagination | Information about pagination | ||||
""" | """ | ||||
type PageInfo { | type PageInfo { | ||||
""" | """ | ||||
Cursor to request the next page in the connection | Cursor to request the next page in the connection | ||||
▲ Show 20 Lines • Show All 293 Lines • ▼ Show 20 Lines | type Snapshot implements MerkleNode & Node { | ||||
""" | """ | ||||
Unique identifier | Unique identifier | ||||
""" | """ | ||||
id: ID! | id: ID! | ||||
""" | """ | ||||
SWHID of the snapshot object | SWHID of the snapshot object | ||||
""" | """ | ||||
SWHID: SWHID! | swhid: SWHID! | ||||
""" | """ | ||||
Connection to all the snapshot branches | Connection to all the snapshot branches | ||||
""" | """ | ||||
branches( | branches( | ||||
""" | """ | ||||
Returns the first _n_ elements from the list | Returns the first _n_ elements from the list | ||||
""" | """ | ||||
▲ Show 20 Lines • Show All 160 Lines • ▼ Show 20 Lines | type Revision implements MerkleNode & Node { | ||||
""" | """ | ||||
Unique identifier | Unique identifier | ||||
""" | """ | ||||
id: ID! | id: ID! | ||||
""" | """ | ||||
SWHID of the revision object | SWHID of the revision object | ||||
""" | """ | ||||
SWHID: SWHID! | swhid: SWHID! | ||||
""" | """ | ||||
Message associated to the revision | Message associated to the revision | ||||
""" | """ | ||||
message: String | message: String | ||||
""" | """ | ||||
""" | """ | ||||
▲ Show 20 Lines • Show All 72 Lines • ▼ Show 20 Lines | type Release implements MerkleNode & Node { | ||||
""" | """ | ||||
Unique identifier | Unique identifier | ||||
""" | """ | ||||
id: ID! | id: ID! | ||||
""" | """ | ||||
SWHID of the release object | SWHID of the release object | ||||
""" | """ | ||||
SWHID: SWHID! | swhid: SWHID! | ||||
""" | """ | ||||
The name of the release | The name of the release | ||||
""" | """ | ||||
name: String | name: String | ||||
""" | """ | ||||
The message associated to the release | The message associated to the release | ||||
▲ Show 20 Lines • Show All 101 Lines • ▼ Show 20 Lines | type Directory implements MerkleNode & Node { | ||||
""" | """ | ||||
Unique identifier | Unique identifier | ||||
""" | """ | ||||
id: ID! | id: ID! | ||||
""" | """ | ||||
SWHID of the directory object | SWHID of the directory object | ||||
""" | """ | ||||
SWHID: SWHID! | swhid: SWHID! | ||||
""" | """ | ||||
Connection to the directory entries | Connection to the directory entries | ||||
""" | """ | ||||
entries( | entries( | ||||
""" | """ | ||||
Returns the first _n_ elements from the list | Returns the first _n_ elements from the list | ||||
""" | """ | ||||
Show All 34 Lines | type Content implements MerkleNode & Node { | ||||
""" | """ | ||||
Unique identifier | Unique identifier | ||||
""" | """ | ||||
id: ID! | id: ID! | ||||
""" | """ | ||||
SWHID of the content object | SWHID of the content object | ||||
""" | """ | ||||
SWHID: SWHID! | swhid: SWHID! | ||||
""" | """ | ||||
Checksums for the content | Checksums for the content | ||||
""" | """ | ||||
checksum: ContentChecksum | checksum: ContentChecksum | ||||
""" | """ | ||||
Length of the content in bytes | Length of the content in bytes | ||||
▲ Show 20 Lines • Show All 57 Lines • ▼ Show 20 Lines | type Query { | ||||
""" | """ | ||||
Get the snapshot with a SWHID | Get the snapshot with a SWHID | ||||
""" | """ | ||||
snapshot( | snapshot( | ||||
""" | """ | ||||
SWHID of the snapshot object | SWHID of the snapshot object | ||||
""" | """ | ||||
SWHID: SWHID! | swhid: SWHID! | ||||
): Snapshot | ): Snapshot | ||||
""" | """ | ||||
Get the revision with a SWHID | Get the revision with a SWHID | ||||
""" | """ | ||||
revision( | revision( | ||||
""" | """ | ||||
SWHID of the revision object | SWHID of the revision object | ||||
""" | """ | ||||
SWHID: SWHID! | swhid: SWHID! | ||||
): Revision | ): Revision | ||||
""" | """ | ||||
Get the release with a SWHID | Get the release with a SWHID | ||||
""" | """ | ||||
release( | release( | ||||
""" | """ | ||||
SWHID of the release object | SWHID of the release object | ||||
""" | """ | ||||
SWHID: SWHID! | swhid: SWHID! | ||||
): Release | ): Release | ||||
""" | """ | ||||
Get the directory with a SWHID | Get the directory with a SWHID | ||||
""" | """ | ||||
directory( | directory( | ||||
""" | """ | ||||
SWHID of the directory object | SWHID of the directory object | ||||
""" | """ | ||||
SWHID: SWHID! | swhid: SWHID! | ||||
): Directory | ): Directory | ||||
""" | """ | ||||
Get the content with a SWHID | Get the content with a SWHID | ||||
""" | """ | ||||
content( | content( | ||||
""" | """ | ||||
SWHID of the content object | SWHID of the content object | ||||
""" | """ | ||||
SWHID: SWHID! | swhid: SWHID! | ||||
): Content | ): Content | ||||
} | } |