Examples

POST /v1/requests/1/publications

Content-Type: application/json

{
   "id":646,
   "title":"Recipes 2.0: Building for Today and Tomorrow",
   "doi":"",
   "pubMedId":"",
   "bibtex":"",
   "year":2013,
   "month":6,
   "peerReviewed":true,
   "type":{
      "id":1,
      "name":"Conference Paper"
   },
   "abstractText":"The history of science gateway development has, in \nmany ways, been a story of the ?Haves? vs. the ?Have-nots.? \nLarge infrastructure projects led the way, building thick client \nportals to provide coherent interfaces to an incoherent \nenvironment. Contrast this with the way the modern web is \ndesigned using light, front end components and outsourcing \nmuch of the heavy lifting to a mash-up of REST APIs, and it is \neasy to see why modern web applications can be prototyped and \nrefined into stable products in the time it previously took thick \nclient portals to do an initial release. This paper argues that a \n?build for today? philosophy can lead to the rapid development \nof science gateways to serve the ?Have-nots.? Also presented is a \nset of responsive front end components built on top of the iPlant \nFoundation API that provide the boilerplate for rapid \ndevelopment of lightweight science gateways using only HTML, \nJavaScript, and CSS. Using these components, developers can \neasily stand up new gateways or quickly add new functionality to \nexisting ones.",
   "createdBy":"mrhanlon",
   "created":1375215254870,
   "modifiedBy":"mrhanlon",
   "modified":1375215254870,
   "projects":[
      {
         "id":648,
         "projectNumber":"XSEDE_STAFF_PUBLICATION"
      }
   ],
   "authors":[
      {
         "id":3797,
         "author":{
            "id":3855,
            "portalUsername":"mrhanlon",
            "firstName":"Matthew",
            "middleName":"",
            "lastName":"Hanlon",
            "prefix":null,
            "suffix":null,
            "initials":null,
            "affiliation":"Texas Advanced Computing Center",
            "hash":"639829a8eef51574c6412f1a51800adb"
         },
         "order":0
      },
      {
         "id":3798,
         "author":{
            "id":3856,
            "portalUsername":"rdoole1",
            "firstName":"Rion",
            "middleName":"",
            "lastName":"Dooley",
            "prefix":null,
            "suffix":null,
            "initials":null,
            "affiliation":"University of Texas at Austin",
            "hash":"14d985bf3ee796286f62889bbd6099b8"
         },
         "order":1
      }
   ],
   "data":[
      {
         "id":3011,
         "field":{
            "id":1,
            "name":"Conference name",
            "description":"The name of the Conference",
            "type":"textfield",
            "sortOrder":0,
            "required":true,
            "defaultValue":null,
            "options":null
         },
         "value":"5th International Workshop on Science Gateways"
      },
      {
         "id":3012,
         "field":{
            "id":2,
            "name":"Location",
            "description":"The location of the Conference",
            "type":"textfield",
            "sortOrder":1,
            "required":true,
            "defaultValue":null,
            "options":null
         },
         "value":"Zurich, Switzerland"
      },
      {
         "id":3013,
         "field":{
            "id":3,
            "name":"Volume/Issue",
            "description":"",
            "type":"textfield",
            "sortOrder":2,
            "required":false,
            "defaultValue":null,
            "options":null
         },
         "value":"Vol-993"
      },
      {
         "id":3014,
         "field":{
            "id":4,
            "name":"Pages",
            "description":"",
            "type":"textfield",
            "sortOrder":3,
            "required":false,
            "defaultValue":null,
            "options":null
         },
         "value":""
      },
      {
         "id":3015,
         "field":{
            "id":5,
            "name":"URL",
            "description":"",
            "type":"textfield",
            "sortOrder":4,
            "required":false,
            "defaultValue":null,
            "options":null
         },
         "value":"http://ceur-ws.org/Vol-993/paper16.pdf"
      }
   ]
}

Params

Param name Description
requestId
optional

Validations:

  • Must be a Integer

Returns

Code: 200

Description:

OK

Param name Description
publicationId
required

Validations:

  • Must be a Integer