Skip to content

Reviewer Bids

Operations Summary

Method Endpoint Description
Core CRUD
GET /api/reviewer-bids/ List Reviewer Bids
GET /api/reviewer-bids/{uuid}/ Retrieve
POST /api/reviewer-bids/ Create
PUT /api/reviewer-bids/{uuid}/ Update
PATCH /api/reviewer-bids/{uuid}/ Partial Update
DELETE /api/reviewer-bids/{uuid}/ Delete
Other Actions
GET /api/reviewer-bids/my-bids/ Get my bids for a specific call
POST /api/reviewer-bids/bulk-submit/ Submit multiple bids at once
POST /api/reviewer-bids/submit/ Submit a bid on a proposal

Core CRUD

List Reviewer Bids

1
2
3
4
http \
  GET \
  https://api.example.com/api/reviewer-bids/ \
  Authorization:"Token YOUR_API_TOKEN"
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.api.reviewer_bids import reviewer_bids_list # (1)

client = AuthenticatedClient(
    base_url="https://api.example.com", token="YOUR_API_TOKEN"
)
response = reviewer_bids_list.sync(client=client)

for item in response:
    print(item)
  1. API Source: reviewer_bids_list
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
import { reviewerBidsList } from 'waldur-js-client';

try {
  const response = await reviewerBidsList({
  auth: "Token YOUR_API_TOKEN"
});
  console.log('Success:', response);
} catch (error) {
  console.error('Error:', error);
}
Name Type Description
bid array Reviewer's preference for reviewing this proposal

call_uuid string (uuid)
o array Ordering

page integer A page number within the paginated result set.
page_size integer Number of results to return per page.
proposal_uuid string (uuid)
reviewer_uuid string (uuid)

200 -

The response body is an array of objects, where each object has the following structure:

Field Type Description
uuid string (uuid)
call string (uri)
call_uuid string (uuid)
reviewer string (uri)
reviewer_uuid string (uuid)
reviewer_name string
proposal string (uri)
proposal_uuid string (uuid)
proposal_name string
bid any Reviewer's preference for reviewing this proposal
bid_display string
comment string Optional comment explaining the bid
submitted_at string (date-time)
modified_at string (date-time)

Retrieve

1
2
3
4
http \
  GET \
  https://api.example.com/api/reviewer-bids/a1b2c3d4-e5f6-7890-abcd-ef1234567890/ \
  Authorization:"Token YOUR_API_TOKEN"
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.api.reviewer_bids import reviewer_bids_retrieve # (1)

client = AuthenticatedClient(
    base_url="https://api.example.com", token="YOUR_API_TOKEN"
)
response = reviewer_bids_retrieve.sync(
    uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    client=client
)

print(response)
  1. API Source: reviewer_bids_retrieve
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
import { reviewerBidsRetrieve } from 'waldur-js-client';

try {
  const response = await reviewerBidsRetrieve({
  auth: "Token YOUR_API_TOKEN",
  path: {
    "uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
  }
});
  console.log('Success:', response);
} catch (error) {
  console.error('Error:', error);
}
Name Type Required
uuid string (uuid)

200 -

Field Type Description
uuid string (uuid)
call string (uri)
call_uuid string (uuid)
reviewer string (uri)
reviewer_uuid string (uuid)
reviewer_name string
proposal string (uri)
proposal_uuid string (uuid)
proposal_name string
bid any Reviewer's preference for reviewing this proposal
bid_display string
comment string Optional comment explaining the bid
submitted_at string (date-time)
modified_at string (date-time)

Create

1
2
3
4
5
6
http \
  POST \
  https://api.example.com/api/reviewer-bids/ \
  Authorization:"Token YOUR_API_TOKEN" \
  proposal="https://api.example.com/api/proposal/a1b2c3d4-e5f6-7890-abcd-ef1234567890/" \
  bid=null
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.models.reviewer_bid_request import ReviewerBidRequest # (1)
from waldur_api_client.api.reviewer_bids import reviewer_bids_create # (2)

client = AuthenticatedClient(
    base_url="https://api.example.com", token="YOUR_API_TOKEN"
)

body_data = ReviewerBidRequest(
    proposal="https://api.example.com/api/proposal/a1b2c3d4-e5f6-7890-abcd-ef1234567890/",
    bid=null
)
response = reviewer_bids_create.sync(
    client=client,
    body=body_data
)

print(response)
  1. Model Source: ReviewerBidRequest
  2. API Source: reviewer_bids_create
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
import { reviewerBidsCreate } from 'waldur-js-client';

try {
  const response = await reviewerBidsCreate({
  auth: "Token YOUR_API_TOKEN",
  body: {
    "proposal": "https://api.example.com/api/proposal/a1b2c3d4-e5f6-7890-abcd-ef1234567890/",
    "bid": null
  }
});
  console.log('Success:', response);
} catch (error) {
  console.error('Error:', error);
}
Field Type Required Description
proposal string (uri)
bid any Reviewer's preference for reviewing this proposal
comment string Optional comment explaining the bid

201 -

Field Type Description
uuid string (uuid)
call string (uri)
call_uuid string (uuid)
reviewer string (uri)
reviewer_uuid string (uuid)
reviewer_name string
proposal string (uri)
proposal_uuid string (uuid)
proposal_name string
bid any Reviewer's preference for reviewing this proposal
bid_display string
comment string Optional comment explaining the bid
submitted_at string (date-time)
modified_at string (date-time)

Update

1
2
3
4
5
6
http \
  PUT \
  https://api.example.com/api/reviewer-bids/a1b2c3d4-e5f6-7890-abcd-ef1234567890/ \
  Authorization:"Token YOUR_API_TOKEN" \
  proposal="https://api.example.com/api/proposal/a1b2c3d4-e5f6-7890-abcd-ef1234567890/" \
  bid=null
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.models.reviewer_bid_request import ReviewerBidRequest # (1)
from waldur_api_client.api.reviewer_bids import reviewer_bids_update # (2)

client = AuthenticatedClient(
    base_url="https://api.example.com", token="YOUR_API_TOKEN"
)

body_data = ReviewerBidRequest(
    proposal="https://api.example.com/api/proposal/a1b2c3d4-e5f6-7890-abcd-ef1234567890/",
    bid=null
)
response = reviewer_bids_update.sync(
    uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    client=client,
    body=body_data
)

print(response)
  1. Model Source: ReviewerBidRequest
  2. API Source: reviewer_bids_update
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
import { reviewerBidsUpdate } from 'waldur-js-client';

try {
  const response = await reviewerBidsUpdate({
  auth: "Token YOUR_API_TOKEN",
  path: {
    "uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
  },
  body: {
    "proposal": "https://api.example.com/api/proposal/a1b2c3d4-e5f6-7890-abcd-ef1234567890/",
    "bid": null
  }
});
  console.log('Success:', response);
} catch (error) {
  console.error('Error:', error);
}
Name Type Required
uuid string (uuid)
Field Type Required Description
proposal string (uri)
bid any Reviewer's preference for reviewing this proposal
comment string Optional comment explaining the bid

200 -

Field Type Description
uuid string (uuid)
call string (uri)
call_uuid string (uuid)
reviewer string (uri)
reviewer_uuid string (uuid)
reviewer_name string
proposal string (uri)
proposal_uuid string (uuid)
proposal_name string
bid any Reviewer's preference for reviewing this proposal
bid_display string
comment string Optional comment explaining the bid
submitted_at string (date-time)
modified_at string (date-time)

Partial Update

1
2
3
4
http \
  PATCH \
  https://api.example.com/api/reviewer-bids/a1b2c3d4-e5f6-7890-abcd-ef1234567890/ \
  Authorization:"Token YOUR_API_TOKEN"
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.models.patched_reviewer_bid_request import PatchedReviewerBidRequest # (1)
from waldur_api_client.api.reviewer_bids import reviewer_bids_partial_update # (2)

client = AuthenticatedClient(
    base_url="https://api.example.com", token="YOUR_API_TOKEN"
)

body_data = PatchedReviewerBidRequest()
response = reviewer_bids_partial_update.sync(
    uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    client=client,
    body=body_data
)

print(response)
  1. Model Source: PatchedReviewerBidRequest
  2. API Source: reviewer_bids_partial_update
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
import { reviewerBidsPartialUpdate } from 'waldur-js-client';

try {
  const response = await reviewerBidsPartialUpdate({
  auth: "Token YOUR_API_TOKEN",
  path: {
    "uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
  }
});
  console.log('Success:', response);
} catch (error) {
  console.error('Error:', error);
}
Name Type Required
uuid string (uuid)
Field Type Required Description
proposal string (uri)
bid any Reviewer's preference for reviewing this proposal
comment string Optional comment explaining the bid

200 -

Field Type Description
uuid string (uuid)
call string (uri)
call_uuid string (uuid)
reviewer string (uri)
reviewer_uuid string (uuid)
reviewer_name string
proposal string (uri)
proposal_uuid string (uuid)
proposal_name string
bid any Reviewer's preference for reviewing this proposal
bid_display string
comment string Optional comment explaining the bid
submitted_at string (date-time)
modified_at string (date-time)

Delete

1
2
3
4
http \
  DELETE \
  https://api.example.com/api/reviewer-bids/a1b2c3d4-e5f6-7890-abcd-ef1234567890/ \
  Authorization:"Token YOUR_API_TOKEN"
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.api.reviewer_bids import reviewer_bids_destroy # (1)

client = AuthenticatedClient(
    base_url="https://api.example.com", token="YOUR_API_TOKEN"
)
response = reviewer_bids_destroy.sync(
    uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    client=client
)

print(response)
  1. API Source: reviewer_bids_destroy
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
import { reviewerBidsDestroy } from 'waldur-js-client';

try {
  const response = await reviewerBidsDestroy({
  auth: "Token YOUR_API_TOKEN",
  path: {
    "uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
  }
});
  console.log('Success:', response);
} catch (error) {
  console.error('Error:', error);
}
Name Type Required
uuid string (uuid)

204 - No response body


Other Actions

Get my bids for a specific call

Get my bids for a specific call.

1
2
3
4
http \
  GET \
  https://api.example.com/api/reviewer-bids/my-bids/ \
  Authorization:"Token YOUR_API_TOKEN"
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.api.reviewer_bids import reviewer_bids_my_bids_list # (1)

client = AuthenticatedClient(
    base_url="https://api.example.com", token="YOUR_API_TOKEN"
)
response = reviewer_bids_my_bids_list.sync(client=client)

for item in response:
    print(item)
  1. API Source: reviewer_bids_my_bids_list
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
import { reviewerBidsMyBidsList } from 'waldur-js-client';

try {
  const response = await reviewerBidsMyBidsList({
  auth: "Token YOUR_API_TOKEN"
});
  console.log('Success:', response);
} catch (error) {
  console.error('Error:', error);
}
Name Type Description
bid array Reviewer's preference for reviewing this proposal

call_uuid string (uuid)
o array Ordering

page integer A page number within the paginated result set.
page_size integer Number of results to return per page.
proposal_uuid string (uuid)
reviewer_uuid string (uuid)

200 -

The response body is an array of objects, where each object has the following structure:

Field Type Description
uuid string (uuid)
call string (uri)
call_uuid string (uuid)
reviewer string (uri)
reviewer_uuid string (uuid)
reviewer_name string
proposal string (uri)
proposal_uuid string (uuid)
proposal_name string
bid any Reviewer's preference for reviewing this proposal
bid_display string
comment string Optional comment explaining the bid
submitted_at string (date-time)
modified_at string (date-time)

Submit multiple bids at once

Submit multiple bids at once.

1
2
3
4
5
http \
  POST \
  https://api.example.com/api/reviewer-bids/bulk-submit/ \
  Authorization:"Token YOUR_API_TOKEN" \
  bids:='[]'
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.models.reviewer_bulk_bid_request import ReviewerBulkBidRequest # (1)
from waldur_api_client.api.reviewer_bids import reviewer_bids_bulk_submit # (2)

client = AuthenticatedClient(
    base_url="https://api.example.com", token="YOUR_API_TOKEN"
)

body_data = ReviewerBulkBidRequest(
    bids=[]
)
response = reviewer_bids_bulk_submit.sync(
    client=client,
    body=body_data
)

print(response)
  1. Model Source: ReviewerBulkBidRequest
  2. API Source: reviewer_bids_bulk_submit
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
import { reviewerBidsBulkSubmit } from 'waldur-js-client';

try {
  const response = await reviewerBidsBulkSubmit({
  auth: "Token YOUR_API_TOKEN",
  body: {
    "bids": []
  }
});
  console.log('Success:', response);
} catch (error) {
  console.error('Error:', error);
}
Field Type Required
bids array of objects
bids.proposal_uuid string (uuid)
bids.bid string
bids.comment string

200 -

Field Type
submitted integer

Submit a bid on a proposal

Submit a bid on a proposal.

1
2
3
4
5
6
http \
  POST \
  https://api.example.com/api/reviewer-bids/submit/ \
  Authorization:"Token YOUR_API_TOKEN" \
  proposal_uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890" \
  bid="eager"
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.models.reviewer_bid_submit_request import ReviewerBidSubmitRequest # (1)
from waldur_api_client.api.reviewer_bids import reviewer_bids_submit # (2)

client = AuthenticatedClient(
    base_url="https://api.example.com", token="YOUR_API_TOKEN"
)

body_data = ReviewerBidSubmitRequest(
    proposal_uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    bid="eager"
)
response = reviewer_bids_submit.sync(
    client=client,
    body=body_data
)

print(response)
  1. Model Source: ReviewerBidSubmitRequest
  2. API Source: reviewer_bids_submit
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
import { reviewerBidsSubmit } from 'waldur-js-client';

try {
  const response = await reviewerBidsSubmit({
  auth: "Token YOUR_API_TOKEN",
  body: {
    "proposal_uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "bid": "eager"
  }
});
  console.log('Success:', response);
} catch (error) {
  console.error('Error:', error);
}
Field Type Required
proposal_uuid string (uuid)
bid string
comment string

200 -

Field Type Description
uuid string (uuid)
call string (uri)
call_uuid string (uuid)
reviewer string (uri)
reviewer_uuid string (uuid)
reviewer_name string
proposal string (uri)
proposal_uuid string (uuid)
proposal_name string
bid any Reviewer's preference for reviewing this proposal
bid_display string
comment string Optional comment explaining the bid
submitted_at string (date-time)
modified_at string (date-time)