Pluralsight Labs API

GraphQL queries for accessing lab catalog and lab activity data for hands-on learning experiences and practical exercises.

OpenAPI Specification

labs.yml Raw ↑
openapi: 3.1.0
info:
  title: Pluralsight Labs API
  description: GraphQL queries for accessing lab catalog and lab activity data for hands-on learning experiences and practical exercises.
  version: 1.0.0
  contact:
    name: Pluralsight API Support
    email: [email protected]
    url: https://help.pluralsight.com
  license:
    name: Proprietary
    url: https://www.pluralsight.com/terms
servers:
- url: https://paas-api.pluralsight.com
  description: Production
externalDocs:
  description: Pluralsight Developer Documentation
  url: https://developer.pluralsight.com
tags:
- name: GraphQL
  description: GraphQL query operations
paths:
  /graphql:
    post:
      summary: Pluralsight Query Labs
      description: Execute GraphQL queries to access lab catalog and lab activity data for hands-on learning experiences and practical exercises.
      operationId: queryLabs
      tags:
      - GraphQL
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GraphQLRequest'
      responses:
        '200':
          description: Successful GraphQL response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GraphQLResponse'
        '401':
          description: Unauthorized - Invalid or missing authentication token
        '429':
          description: Too Many Requests - Rate limit exceeded
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
  schemas:
    GraphQLRequest:
      type: object
      required:
      - query
      properties:
        query:
          type: string
          description: The GraphQL query string
          example: example_value
        variables:
          type: object
          description: Variables for the GraphQL query
        operationName:
          type: string
          description: Name of the operation to execute
          example: Example Course
    GraphQLResponse:
      type: object
      properties:
        data:
          type: object
          description: The query result data
        errors:
          type: array
          items:
            $ref: '#/components/schemas/GraphQLError'
          description: Any errors that occurred during query execution
    GraphQLError:
      type: object
      properties:
        message:
          type: string
          description: Error message
          example: example_value
        locations:
          type: array
          items:
            type: object
            properties:
              line:
                type: integer
              column:
                type: integer
        path:
          type: array
          items:
            type: string