Onedata API Reference

REST API references for Onezone, Oneprovider, and Onepanel.

Get membership requester info

GET /spaces/marketplace/{id}/request/{rid}/requester_info

Get requester info for a specific space membership request made via the Marketplace.

This operation requires privilege space_manage_in_marketplace or oz_spaces_view admin privilege.

Example cURL requests

Get space membership requester info

curl -u admin:password -H "Content-type: application/json" -X GET \
https://$ZONE_HOST/api/v3/onezone/spaces/marketplace/$SPACE_ID/request/$REQUEST_ID/requester_info

{
  "userId": "585110fde9d1a52c93f8eb22c0614e47",
  "fullName": "Joe Joester",
  "username": "JoJo",
  "contactEmail": user@example.com
}

Path parameters

Parameter Type & Description
id required
string

Space Id.

rid required
string

Space membership request Id.

Request Examples

Shell
onezone-rest-cli getMembershipRequesterInfo id=$SPACE_ID rid=$REQUEST_ID

Responses

application/json
200

Space membership requester info.

PropertyType & Description
userId
string

Unique user Id.

fullName
string

User's full name (given names + surname).

username
string

User's human-readable identifier, unique across the system. Makes it easier to identify the user and can be used for signing in with password.

contactEmail
string

User contact email address.

Example

application/json
{
  "userId": "585110fde9d1a52c93f8eb22c0614e47",
  "fullName": "Joe Joester",
  "username": "JoJo",
  "contactEmail": "user@example.com"
}
400

Invalid request.

PropertyType & Description
error
object

Object describing an error.

id required
string

String identifying the error type. Does not change between error instances.

description required
string

Human readable error description. May contain information specific to given error instance.

details
object

Details about the error instance. The object schema is specific to each error type.

Example

application/json
{
  "error": {
    "id": "badValueString",
    "details": {
      "key": "name"
    },
    "description": "Bad value: provided \"name\" must be a string."
  }
}
401

Authentication error.

PropertyType & Description
error
object

Object describing an error.

id required
string

String identifying the error type. Does not change between error instances.

description required
string

Human readable error description. May contain information specific to given error instance.

details
object

Details about the error instance. The object schema is specific to each error type.

Example

application/json
{
  "error": {
    "id": "badValueString",
    "details": {
      "key": "name"
    },
    "description": "Bad value: provided \"name\" must be a string."
  }
}
403

Authorization error.

PropertyType & Description
error
object

Object describing an error.

id required
string

String identifying the error type. Does not change between error instances.

description required
string

Human readable error description. May contain information specific to given error instance.

details
object

Details about the error instance. The object schema is specific to each error type.

Example

application/json
{
  "error": {
    "id": "badValueString",
    "details": {
      "key": "name"
    },
    "description": "Bad value: provided \"name\" must be a string."
  }
}
404

Resource not found.

PropertyType & Description
error
object

Object describing an error.

id required
string

String identifying the error type. Does not change between error instances.

description required
string

Human readable error description. May contain information specific to given error instance.

details
object

Details about the error instance. The object schema is specific to each error type.

Example

application/json
{
  "error": {
    "id": "badValueString",
    "details": {
      "key": "name"
    },
    "description": "Bad value: provided \"name\" must be a string."
  }
}
500

Internal server Error.

PropertyType & Description
error
object

Object describing an error.

id required
string

String identifying the error type. Does not change between error instances.

description required
string

Human readable error description. May contain information specific to given error instance.

details
object

Details about the error instance. The object schema is specific to each error type.

Example

application/json
{
  "error": {
    "id": "badValueString",
    "details": {
      "key": "name"
    },
    "description": "Bad value: provided \"name\" must be a string."
  }
}