Changeset View
Changeset View
Standalone View
Standalone View
swh/graphql/schema/schema.graphql
Show First 20 Lines • Show All 698 Lines • ▼ Show 20 Lines | |||||
Possible directory entry target objects | Possible directory entry target objects | ||||
""" | """ | ||||
union DirectoryEntryTarget = Directory | Content | Revision | union DirectoryEntryTarget = Directory | Content | Revision | ||||
""" | """ | ||||
Possible directory entry types | Possible directory entry types | ||||
""" | """ | ||||
enum DirectoryEntryTargetType { | enum DirectoryEntryTargetType { | ||||
dir | directory | ||||
file | content | ||||
rev | revision | ||||
} | } | ||||
""" | """ | ||||
A directory entry object | A directory entry object | ||||
""" | """ | ||||
type DirectoryEntry { | type DirectoryEntry { | ||||
""" | """ | ||||
The directory entry name | The directory entry name | ||||
Show All 33 Lines | entries( | ||||
Returns the first _n_ elements from the list | Returns the first _n_ elements from the list | ||||
""" | """ | ||||
first: Int | first: Int | ||||
""" | """ | ||||
Returns the page after this cursor | Returns the page after this cursor | ||||
""" | """ | ||||
after: String | after: String | ||||
""" | |||||
Filter by entry name | |||||
""" | |||||
nameInclude: String | |||||
): DirectoryEntryConnection | ): DirectoryEntryConnection | ||||
} | } | ||||
""" | """ | ||||
An object with different content checksums | An object with different content checksums | ||||
""" | """ | ||||
type ContentChecksum { | type ContentChecksum { | ||||
blake2s256: String | blake2s256: String | ||||
▲ Show 20 Lines • Show All 312 Lines • Show Last 20 Lines |