Microforge API
Researchers/Slug/Collaborators

Get researcher's collaborators

Returns collaborator network for a specific researcher

GET
/researchers/{slug}/collaborators

Authorization

Authorization

x-api-key<token>

In: header

Path Parameters

slugstring

The researcher slug (e.g., ~Yann_LeCun1)

Response Body

Successful response

TypeScript Definitions

Use the response body type in TypeScript.

researcher_slug?string
collaborators?object

JSONB data containing collaborator information

Empty Object

Bad request

TypeScript Definitions

Use the response body type in TypeScript.

error?string
message?string

Unauthorized

TypeScript Definitions

Use the response body type in TypeScript.

error?string
message?string

Collaborators not found

TypeScript Definitions

Use the response body type in TypeScript.

error?string
message?string

Internal server error

TypeScript Definitions

Use the response body type in TypeScript.

error?string
message?string
curl -X GET "https://hiring-api.microforge.studio/v1/researchers/~Karsten_Kreis1/collaborators"
fetch("https://hiring-api.microforge.studio/v1/researchers/~Karsten_Kreis1/collaborators")
package main

import (
  "fmt"
  "net/http"
  "io/ioutil"
)

func main() {
  url := "https://hiring-api.microforge.studio/v1/researchers/~Karsten_Kreis1/collaborators"

  req, _ := http.NewRequest("GET", url, nil)
  
  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  body, _ := ioutil.ReadAll(res.Body)

  fmt.Println(res)
  fmt.Println(string(body))
}
import requests

url = "https://hiring-api.microforge.studio/v1/researchers/~Karsten_Kreis1/collaborators"

response = requests.request("GET", url)

print(response.text)
{
  "researcher_slug": "string",
  "collaborators": {}
}
{
  "error": "string",
  "message": "string"
}
{
  "error": "string",
  "message": "string"
}
{
  "error": "string",
  "message": "string"
}
{
  "error": "string",
  "message": "string"
}