Changeset View
Changeset View
Standalone View
Standalone View
swh/graphql/schema/schema.graphql
Show First 20 Lines • Show All 1,060 Lines • ▼ Show 20 Lines | type Query { | ||||
""" | """ | ||||
Get a directory entry with directory SWHID and a path | Get a directory entry with directory SWHID and a path | ||||
""" | """ | ||||
directoryEntry( | directoryEntry( | ||||
""" | """ | ||||
SWHID of the directory object | SWHID of the directory object | ||||
""" | """ | ||||
directorySwhid: SWHID! | directorySWHID: SWHID! | ||||
""" | """ | ||||
Relative path to the requested object | Relative path to the requested object | ||||
""" | """ | ||||
path: String! | path: String! | ||||
): DirectoryEntry | ): DirectoryEntry | ||||
""" | """ | ||||
Show All 15 Lines | contentByHash( | ||||
List of hashType:hashValue strings | List of hashType:hashValue strings | ||||
""" | """ | ||||
checksums: [ContentHash]! | checksums: [ContentHash]! | ||||
): Content | ): Content | ||||
""" | """ | ||||
Resolve the given SWHID to an object | Resolve the given SWHID to an object | ||||
""" | """ | ||||
resolveSwhid( | resolveSWHID( | ||||
""" | """ | ||||
SWHID to look for | SWHID to look for | ||||
""" | """ | ||||
swhid: SWHID! | swhid: SWHID! | ||||
): SearchResultConnection | ): SearchResultConnection | ||||
""" | """ | ||||
Search in SWH | Search in SWH | ||||
Show All 18 Lines |