Teams

Create a new team (must be parent org member)

post/orgs/{org_name}/teams

Request

  • The document declares no server URL.
  • Auth: one of:
    • HTTP bearer
    • API key in header x-pollination-token

Path parameters

org_namestring required

Request body

typestring

A base class to use when there is no baseclass available to fall on.

namestring required
descriptionstring

Example request

{
  "name": "Honeybee Contributors",
  "description": "The Honeybee team works on all things energy modelling"
}

Response

Success

typestring

A base class to use when there is no baseclass available to fall on.

idstring uuid required

Id for the newly created resource.

messagestring

A human readable message

Example response

{
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "message": "Use Location in headers to access the new object."
}

Changes

    • breaking

      response property detail/items/loc/items/ list-of-types was widened by adding types integer to media type application/json of response 422

    • breaking

      the response's body type changed from no type to object for status

    • info

      added the optional property to the response with the status