SHARE
TWEET

Untitled

a guest May 23rd, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. mutation {
  2.   addRepository(
  3.     repoinput: {
  4.       name: "repo2"
  5.       description: "desc2"
  6.       curators: [
  7.         { name: "curator1", user: "curator1user", dataManager: true }
  8.         { name: "curator2", user: "curator2user", dataManager: false }
  9.       ]
  10.       fileSet: {
  11.         key: "key1"
  12.         value: "value1"
  13.         description: "fileSet description"
  14.         files: [
  15.           {
  16.             name: "file1"
  17.             description: "description file 1"
  18.            
  19.             type: {
  20.               name: "fileType1"
  21.               description: "fileType description"
  22.               extension: "Extension string"
  23.             }
  24.             metadata: {
  25.               data: "{'key':'Value'}"
  26.               dataSource: "Data source of metadata"
  27.               annotations: {
  28.                 key: "annotationkey"
  29.                 value: "value of annotation"
  30.               }
  31.             }
  32.           },
  33.           {
  34.             name:"file2"
  35.             description:"description file 2"
  36.             type:{
  37.               name:"type"
  38.               description:"desc2"
  39.               extension:"Extension string 3"
  40.             }
  41.             metadata:{
  42.               data: "{'key':'Value'}"
  43.               dataSource: "Data source of metadata"
  44.               annotations: {
  45.                 key: "annotationkey"
  46.                 value: "value of annotation"
  47.               }
  48.             }
  49.           }
  50.         ]
  51.         metadata: {
  52.           data: "Data of FileSet metadata"
  53.           dataSource: " Source of FileSet metadata"
  54.           annotations: { key: "annotationkey", value: "value of annotation" }
  55.         }
  56.       }
  57.       license: {
  58.         name: "license1"
  59.         description: "description of license"
  60.         version: "1.0.0"
  61.         current: "currentText"
  62.         from: "fromText"
  63.         to: "toText"
  64.       }
  65.     }
  66.   ) {
  67.     name
  68.     description
  69.     fileSet{
  70.       files{
  71.         name
  72.       }
  73.     }
  74.   }
  75. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top