-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update
loadtest
utility with new GraphQL requests (#1142)
They got outdated at some point. But updating them is easy: just open Tobira (the homepage and some video page) and copy the graphql payload from the dev tools.
- Loading branch information
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"query":"query RealmQuery(\n $path: String!\n) {\n ...UserData\n realm: realmByPath(path: $path) {\n id\n name\n path\n isMainRoot\n isUserRealm\n ownerDisplayName\n children {\n id\n }\n blocks {\n __typename\n id\n }\n canCurrentUserEdit\n ancestors {\n name\n path\n ownerDisplayName\n id\n }\n parent {\n id\n }\n ...BlocksData\n ...NavigationData\n }\n}\n\nfragment BlocksBlockData on Block {\n __isBlock: __typename\n id\n __typename\n ... on TitleBlock {\n ...TitleBlockData\n }\n ... on TextBlock {\n ...TextBlockData\n }\n ... on SeriesBlock {\n ...SeriesBlockData\n }\n ... on VideoBlock {\n ...VideoBlockData\n }\n}\n\nfragment BlocksData on Realm {\n ...BlocksRealmData\n blocks {\n __typename\n id\n ...BlocksBlockData\n }\n}\n\nfragment BlocksRealmData on Realm {\n path\n}\n\nfragment NavigationData on Realm {\n id\n name\n childOrder\n isUserRoot\n children {\n id\n name\n path\n }\n parent {\n isMainRoot\n name\n path\n id\n }\n}\n\nfragment SeriesBlockData on SeriesBlock {\n series {\n ...SeriesBlockSeriesData\n id\n }\n showTitle\n showMetadata\n order\n}\n\nfragment SeriesBlockSeriesData on Series {\n title\n syncedData {\n description\n }\n events {\n id\n title\n created\n creators\n isLive\n description\n syncedData {\n duration\n thumbnail\n startTime\n endTime\n tracks {\n resolution\n }\n }\n }\n}\n\nfragment TextBlockData on TextBlock {\n content\n}\n\nfragment TitleBlockData on TitleBlock {\n content\n}\n\nfragment UserData on Query {\n currentUser {\n username\n displayName\n canUpload\n canUseStudio\n canUseEditor\n canCreateUserRealm\n }\n}\n\nfragment VideoBlockData on VideoBlock {\n event {\n __typename\n ... on NotAllowed {\n dummy\n }\n ... on AuthorizedEvent {\n id\n title\n isLive\n created\n syncedData {\n duration\n updated\n startTime\n endTime\n thumbnail\n tracks {\n uri\n flavor\n mimetype\n resolution\n isMaster\n }\n captions {\n uri\n lang\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n showTitle\n showLink\n}\n","variables":{"path":"/"}} | ||
{"query":"query RealmQuery(\n $path: String!\n) {\n ...UserData\n realm: realmByPath(path: $path) {\n id\n name\n path\n isMainRoot\n isUserRealm\n ownerDisplayName\n children {\n id\n }\n blocks {\n __typename\n id\n }\n canCurrentUserModerate\n ancestors {\n name\n path\n ownerDisplayName\n id\n }\n parent {\n id\n }\n ...BlocksData\n ...NavigationData\n }\n}\n\nfragment BlocksBlockData on Block {\n __isBlock: __typename\n id\n __typename\n ... on TitleBlock {\n ...TitleBlockData\n }\n ... on TextBlock {\n ...TextBlockData\n }\n ... on SeriesBlock {\n ...SeriesBlockData\n }\n ... on VideoBlock {\n ...VideoBlockData\n }\n}\n\nfragment BlocksData on Realm {\n ...BlocksRealmData\n blocks {\n __typename\n id\n ...BlocksBlockData\n }\n}\n\nfragment BlocksRealmData on Realm {\n path\n}\n\nfragment NavigationData on Realm {\n id\n name\n childOrder\n isUserRoot\n children {\n id\n name\n path\n }\n parent {\n isMainRoot\n name\n path\n id\n }\n}\n\nfragment SeriesBlockData on SeriesBlock {\n series {\n ...SeriesBlockSeriesData\n id\n }\n showTitle\n showMetadata\n order\n layout\n}\n\nfragment SeriesBlockSeriesData on Series {\n title\n syncedData {\n description\n }\n events {\n id\n title\n created\n creators\n isLive\n description\n syncedData {\n duration\n thumbnail\n startTime\n endTime\n tracks {\n resolution\n }\n }\n }\n}\n\nfragment TextBlockData on TextBlock {\n content\n}\n\nfragment TitleBlockData on TitleBlock {\n content\n}\n\nfragment UserData on Query {\n currentUser {\n username\n displayName\n canUpload\n canUseStudio\n canUseEditor\n canCreateUserRealm\n roles\n userRole\n }\n}\n\nfragment VideoBlockData on VideoBlock {\n event {\n __typename\n ... on NotAllowed {\n dummy\n }\n ... on AuthorizedEvent {\n id\n title\n isLive\n opencastId\n created\n syncedData {\n duration\n updated\n startTime\n endTime\n thumbnail\n tracks {\n uri\n flavor\n mimetype\n resolution\n isMaster\n }\n captions {\n uri\n lang\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n showTitle\n showLink\n}\n","variables":{"path":"/"}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"query":"query VideoPageInRealmQuery(\n $id: ID!\n $realmPath: String!\n) {\n ...UserData\n event: eventById(id: $id) {\n __typename\n ...VideoPageEventData\n ... on Node {\n __isNode: __typename\n id\n }\n }\n realm: realmByPath(path: $realmPath) {\n referencesVideo: references(id: $id)\n ...VideoPageRealmData\n ...NavigationData\n id\n }\n}\n\nfragment NavigationData on Realm {\n id\n name\n childOrder\n isUserRoot\n children {\n id\n name\n path\n }\n parent {\n isMainRoot\n name\n path\n id\n }\n}\n\nfragment SeriesBlockSeriesData on Series {\n title\n syncedData {\n description\n }\n events {\n id\n title\n created\n creators\n isLive\n description\n syncedData {\n duration\n thumbnail\n startTime\n endTime\n tracks {\n resolution\n }\n }\n }\n}\n\nfragment UserData on Query {\n currentUser {\n username\n displayName\n canUpload\n canUseStudio\n canUseEditor\n canCreateUserRealm\n }\n}\n\nfragment VideoPageEventData on Event {\n __isEvent: __typename\n __typename\n ... on NotAllowed {\n dummy\n }\n ... on AuthorizedEvent {\n id\n title\n description\n creators\n created\n isLive\n opencastId\n metadata\n canWrite\n syncedData {\n updated\n duration\n thumbnail\n startTime\n endTime\n tracks {\n uri\n flavor\n mimetype\n resolution\n isMaster\n }\n captions {\n uri\n lang\n }\n }\n series {\n id\n title\n ...SeriesBlockSeriesData\n }\n }\n}\n\nfragment VideoPageRealmData on Realm {\n name\n path\n isMainRoot\n ancestors {\n name\n path\n id\n }\n}\n","variables":{"id":"evHOgXl61vdBT","realmPath":"/lectures/d-math/2021/spring"}} | ||
{"query":"query VideoPageInRealmQuery(\n $id: ID!\n $realmPath: String!\n) {\n ...UserData\n event: eventById(id: $id) {\n __typename\n ...VideoPageEventData\n ... on Node {\n __isNode: __typename\n id\n }\n }\n realm: realmByPath(path: $realmPath) {\n referencesVideo: references(id: $id)\n ...VideoPageRealmData\n ...NavigationData\n id\n }\n}\n\nfragment NavigationData on Realm {\n id\n name\n childOrder\n isUserRoot\n children {\n id\n name\n path\n }\n parent {\n isMainRoot\n name\n path\n id\n }\n}\n\nfragment SeriesBlockSeriesData on Series {\n title\n syncedData {\n description\n }\n events {\n id\n title\n created\n creators\n isLive\n description\n syncedData {\n duration\n thumbnail\n startTime\n endTime\n tracks {\n resolution\n }\n }\n }\n}\n\nfragment UserData on Query {\n currentUser {\n username\n displayName\n canUpload\n canUseStudio\n canUseEditor\n canCreateUserRealm\n roles\n userRole\n }\n}\n\nfragment VideoPageEventData on Event {\n __isEvent: __typename\n __typename\n ... on NotAllowed {\n dummy\n }\n ... on AuthorizedEvent {\n id\n title\n description\n creators\n created\n isLive\n opencastId\n metadata\n canWrite\n syncedData {\n updated\n duration\n thumbnail\n startTime\n endTime\n tracks {\n uri\n flavor\n mimetype\n resolution\n isMaster\n }\n captions {\n uri\n lang\n }\n }\n series {\n id\n title\n ...SeriesBlockSeriesData\n }\n }\n}\n\nfragment VideoPageRealmData on Realm {\n name\n path\n isMainRoot\n ancestors {\n name\n path\n id\n }\n}\n","variables":{"id":"evPzriaF_4TSH","realmPath":"/lectures/d-math/2021/spring/401-3602-00L"}} |