candidateById

get

candidateById

Get information about a candidate by Id

https://api.srgssr.ch/polis-api/v2 /candidates/{candidateId}

Name Values Description
lang

The language of the multilanguage content. Must be one of "de" (German), "fr" (French), "it" (Italian), "rr" (Romansch), "en" (English)

Name Values Description
accept

Authorization
(required)

Pass the access-key as a Bearer token in Authorization header. In the developer portal, Authorization header is attached on OAuth authentication.

candidateId The id of a specific candidateid null true

HTTP Basic

OAuth 2.0

API Key

Reset

Working...

Make a request and see the response.

Make a request and see the response.

Make a request and see the response.

HTTP Code Error Code Description
400 400

Object of type BadRequest.

401 401

Object of type TokenError

403 403

Object of type QuotaViolation.

404 404

Object of type UnknownResource.

405 405

Object of type MethodNotAllowed.

Resource Summary

Security

Category

Candidates