Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
21 kB
2
Indexable
Never
curl 'http://localhost:3000/api/graphql?op=learningPath' \
  -H 'Accept: */*' \
  -H 'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8' \
  -H 'Connection: keep-alive' \
  -H 'Cookie: _uid=5f363f9dbe9397a7637240e4; notMe=false; accessToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbElkIjoia2h1c2hpbC5taXN0cnlAbHllYXJuLmNvbSIsInVzZXJJZCI6IjVmMzYzZjlkYmU5Mzk3YTc2MzcyNDBlNCIsInRva2VuVXNlIjoiYWNjZXNzIiwid29ya3NwYWNlSWQiOiI1ZjBmZmU1M2UyYjA4ODA4MGM4NDlmZmUiLCJpYXQiOjE2NTExNDIwNDIsImV4cCI6MTY1MTE0OTI0Mn0.EY1gi8hkUSdsyj_2LMm9OKpgpwXZp9KGwmnTbpRwGiQ; _at=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbElkIjoia2h1c2hpbC5taXN0cnlAbHllYXJuLmNvbSIsInVzZXJJZCI6IjVmMzYzZjlkYmU5Mzk3YTc2MzcyNDBlNCIsInRva2VuVXNlIjoiYWNjZXNzIiwid29ya3NwYWNlSWQiOiI1ZjBmZmU1M2UyYjA4ODA4MGM4NDlmZmUiLCJpYXQiOjE2NTExNDIwNDIsImV4cCI6MTY1MTE0OTI0Mn0.EY1gi8hkUSdsyj_2LMm9OKpgpwXZp9KGwmnTbpRwGiQ' \
  -H 'Origin: http://localhost:3000' \
  -H 'Referer: http://localhost:3000/admin/path/6269f836528b4e00124fa5b1/details' \
  -H 'Sec-Fetch-Dest: empty' \
  -H 'Sec-Fetch-Mode: cors' \
  -H 'Sec-Fetch-Site: same-origin' \
  -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36' \
  -H 'X-Request-id: kqsvLqJa9LpClNIBgN4Bw' \
  -H 'X-operation-name: learningPath' \
  -H 'accessToken: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbElkIjoia2h1c2hpbC5taXN0cnlAbHllYXJuLmNvbSIsInVzZXJJZCI6IjVmMzYzZjlkYmU5Mzk3YTc2MzcyNDBlNCIsInRva2VuVXNlIjoiYWNjZXNzIiwid29ya3NwYWNlSWQiOiI1ZjBmZmU1M2UyYjA4ODA4MGM4NDlmZmUiLCJpYXQiOjE2NTExNDIwNDIsImV4cCI6MTY1MTE0OTI0Mn0.EY1gi8hkUSdsyj_2LMm9OKpgpwXZp9KGwmnTbpRwGiQ' \
  -H 'content-type: application/json' \
  -H 'sec-ch-ua: " Not A;Brand";v="99", "Chromium";v="100", "Google Chrome";v="100"' \
  -H 'sec-ch-ua-mobile: ?0' \
  -H 'sec-ch-ua-platform: "macOS"' \
  --data-raw $'{"query":"query learningPath($pathId: String\u0021) {\\n  content(filters: {id: $pathId}) {\\n    ... on PathContentType {\\n      id\\n      name\\n      objective\\n      type\\n      description\\n      duration\\n      skillIds\\n      status\\n      userPermissions {\\n        action\\n        subject\\n        __typename\\n      }\\n      bookmark {\\n        id\\n        __typename\\n      }\\n      cover {\\n        ...EntityMedia\\n        __typename\\n      }\\n      tags {\\n        ...TagsFormData\\n        __typename\\n      }\\n      performance {\\n        ...PathPerformance\\n        __typename\\n      }\\n      medias {\\n        url\\n        mediaId\\n        __typename\\n      }\\n      subWorkspaces\\n      sections {\\n        id\\n        name\\n        description\\n        completedCount\\n        childResourceIds\\n        childResources {\\n          ... on CheckinType {\\n            ...CheckInContentCard\\n            performance {\\n              status\\n              enrolmentInfo {\\n                assignedAt\\n                __typename\\n              }\\n              __typename\\n            }\\n            __typename\\n          }\\n          ... on QuizContentType {\\n            ...QuizContentCard\\n            performance(filters: {parentEntityId: $pathId}) {\\n              id\\n              status\\n              enrolmentInfo {\\n                assignedAt\\n                __typename\\n              }\\n              __typename\\n            }\\n            __typename\\n          }\\n          ... on PathContentType {\\n            ...PathContentCard\\n            performance {\\n              status\\n              enrolmentInfo {\\n                assignedAt\\n                __typename\\n              }\\n              __typename\\n            }\\n            __typename\\n          }\\n          ... on CourseContentType {\\n            ...CourseContentCard\\n            performance {\\n              status\\n              completedAt\\n              enrolmentInfo {\\n                assignedAt\\n                __typename\\n              }\\n              __typename\\n            }\\n            __typename\\n          }\\n          ... on ArticleContentType {\\n            ...ArticleContentCard\\n            performance {\\n              status\\n              completedAt\\n              enrolmentInfo {\\n                assignedAt\\n                __typename\\n              }\\n              __typename\\n            }\\n            __typename\\n          }\\n          ... on TaskContentType {\\n            ...TaskContentCard\\n            __typename\\n          }\\n          ... on SurveyContentType {\\n            ...SurveyContentCard\\n            performance {\\n              status\\n              enrolmentInfo {\\n                assignedAt\\n                __typename\\n              }\\n              __typename\\n            }\\n            __typename\\n          }\\n          ... on ExternalContentType {\\n            ...ExternalContentCard\\n            performance {\\n              status\\n              enrolmentInfo {\\n                assignedAt\\n                __typename\\n              }\\n              __typename\\n            }\\n            __typename\\n          }\\n          ... on ExerciseType {\\n            ...ExerciseContentCard\\n            performance(filters: {parentEntityId: $pathId}) {\\n              status\\n              enrolmentInfo {\\n                assignedAt\\n                __typename\\n              }\\n              reviewInfo {\\n                peerReviewSubmitted\\n                __typename\\n              }\\n              __typename\\n            }\\n            __typename\\n          }\\n          ... on ScormContentType {\\n            ...ScormContentCard\\n            performance {\\n              status\\n              enrolmentInfo {\\n                assignedAt\\n                __typename\\n              }\\n              __typename\\n            }\\n            __typename\\n          }\\n          ... on LiveEventContentType {\\n            ...LiveEventContentCard\\n            performance {\\n              status\\n              __typename\\n            }\\n            __typename\\n          }\\n          ... on OfflineEventContentType {\\n            ...OfflineEventContentCard\\n            performance {\\n              status\\n              __typename\\n            }\\n            __typename\\n          }\\n          ... on ExternalEventContentType {\\n            ...ExternalEventContentCard\\n            performance {\\n              status\\n              __typename\\n            }\\n            __typename\\n          }\\n          __typename\\n        }\\n        __typename\\n      }\\n      certificateSettings {\\n        ...CertificateSettings\\n        __typename\\n      }\\n      certificateTemplate {\\n        ...CertificateTemplate\\n        __typename\\n      }\\n      dripSettings {\\n        type\\n        dripBy\\n        interval\\n        __typename\\n      }\\n      feedbackQuestions {\\n        questions {\\n          questionText\\n          description\\n          id\\n          __typename\\n        }\\n        __typename\\n      }\\n      visibilitySettings {\\n        ...VisbilitySettings\\n        __typename\\n      }\\n      sharedByWorkspace {\\n        ...SharedByWorkspace\\n        __typename\\n      }\\n      __typename\\n    }\\n    __typename\\n  }\\n}\\n\\nfragment EntityMedia on EntityMediaType {\\n  name\\n  url\\n  size\\n  mimeType\\n  mediaId\\n  kind\\n}\\n\\nfragment TagsFormData on EntityTagType {\\n  tagId\\n  tag {\\n    __typename\\n    ...SingleSelectTag\\n    ...MultiSelectTag\\n    ...NumberTag\\n    ...UserTag\\n    ...DateTag\\n    ...TextTag\\n  }\\n  optionIdValues\\n  users {\\n    id\\n    name\\n    __typename\\n  }\\n  numberValue\\n  textValue\\n  dateValue {\\n    startTime\\n    endTime\\n    __typename\\n  }\\n  type\\n  isEditable\\n}\\n\\nfragment SingleSelectTag on SingleSelectTagType {\\n  id\\n  name\\n  description\\n  availableOn\\n  type\\n  settings {\\n    iconSettings {\\n      type\\n      value\\n      __typename\\n    }\\n    availableInLibrary\\n    requiredTag\\n    __typename\\n  }\\n  options {\\n    id\\n    name\\n    __typename\\n  }\\n  createdBy {\\n    id\\n    name\\n    __typename\\n  }\\n  sharedByWorkspace {\\n    ...SharedByWorkspace\\n    __typename\\n  }\\n}\\n\\nfragment SharedByWorkspace on WorkspaceDetails {\\n  workspaceId\\n  workspaceName\\n  workspaceLogo\\n  uri\\n  icon\\n}\\n\\nfragment MultiSelectTag on MultiSelectTagType {\\n  id\\n  name\\n  description\\n  availableOn\\n  type\\n  settings {\\n    iconSettings {\\n      type\\n      value\\n      __typename\\n    }\\n    availableInLibrary\\n    requiredTag\\n    __typename\\n  }\\n  options {\\n    id\\n    name\\n    __typename\\n  }\\n  createdBy {\\n    id\\n    name\\n    __typename\\n  }\\n  sharedByWorkspace {\\n    ...SharedByWorkspace\\n    __typename\\n  }\\n}\\n\\nfragment NumberTag on NumberTagType {\\n  id\\n  name\\n  description\\n  availableOn\\n  type\\n  settings {\\n    iconSettings {\\n      type\\n      value\\n      __typename\\n    }\\n    availableInLibrary\\n    requiredTag\\n    __typename\\n  }\\n  createdBy {\\n    id\\n    name\\n    __typename\\n  }\\n  numberType\\n  sharedByWorkspace {\\n    ...SharedByWorkspace\\n    __typename\\n  }\\n}\\n\\nfragment UserTag on UserTagType {\\n  id\\n  name\\n  description\\n  availableOn\\n  type\\n  settings {\\n    iconSettings {\\n      type\\n      value\\n      __typename\\n    }\\n    availableInLibrary\\n    requiredTag\\n    __typename\\n  }\\n  createdBy {\\n    id\\n    name\\n    __typename\\n  }\\n  sharedByWorkspace {\\n    ...SharedByWorkspace\\n    __typename\\n  }\\n}\\n\\nfragment DateTag on DateTagType {\\n  id\\n  name\\n  description\\n  availableOn\\n  type\\n  taggedContentCount\\n  includeEndDate\\n  includeTime\\n  taggedUserCount\\n  settings {\\n    iconSettings {\\n      type\\n      value\\n      __typename\\n    }\\n    availableInLibrary\\n    requiredTag\\n    __typename\\n  }\\n  includeEndDate\\n  includeTime\\n  createdBy {\\n    id\\n    name\\n    __typename\\n  }\\n  sharedByWorkspace {\\n    ...SharedByWorkspace\\n    __typename\\n  }\\n}\\n\\nfragment TextTag on TextTagType {\\n  id\\n  name\\n  description\\n  availableOn\\n  type\\n  settings {\\n    iconSettings {\\n      type\\n      value\\n      __typename\\n    }\\n    availableInLibrary\\n    requiredTag\\n    __typename\\n  }\\n  createdBy {\\n    id\\n    name\\n    __typename\\n  }\\n  textType\\n  sharedByWorkspace {\\n    ...SharedByWorkspace\\n    __typename\\n  }\\n}\\n\\nfragment PathPerformance on PathPerformanceType {\\n  id\\n  entityId\\n  estimatedTimeSpent\\n  enrolmentInfo {\\n    dueDate\\n    dripSettings {\\n      type\\n      dripBy\\n      interval\\n      __typename\\n    }\\n    __typename\\n  }\\n  isAvailable\\n  pathResume: resume {\\n    ...BaseContent\\n    __typename\\n  }\\n  issuedCertificate {\\n    ...IssuedCertificate\\n    __typename\\n  }\\n  pathLockSettings: lockSettings {\\n    contentId\\n    contentType\\n    availableFrom\\n    isAvailable\\n    __typename\\n  }\\n  status\\n}\\n\\nfragment BaseContent on ContentEntity {\\n  ... on CheckinType {\\n    id\\n    name\\n    duration\\n    type\\n    cover {\\n      url\\n      __typename\\n    }\\n    __typename\\n  }\\n  ... on PathContentType {\\n    id\\n    name\\n    duration\\n    type\\n    cover {\\n      url\\n      __typename\\n    }\\n    __typename\\n  }\\n  ... on TaskContentType {\\n    id\\n    name\\n    duration\\n    type\\n    cover {\\n      url\\n      __typename\\n    }\\n    __typename\\n  }\\n  ... on CourseContentType {\\n    id\\n    name\\n    duration\\n    type\\n    cover {\\n      url\\n      __typename\\n    }\\n    __typename\\n  }\\n  ... on ArticleContentType {\\n    id\\n    name\\n    duration\\n    type\\n    cover {\\n      url\\n      __typename\\n    }\\n    __typename\\n  }\\n  ... on ExternalContentType {\\n    id\\n    name\\n    duration\\n    type\\n    cover {\\n      url\\n      __typename\\n    }\\n    __typename\\n  }\\n  ... on ScormContentType {\\n    id\\n    name\\n    type\\n    duration\\n    cover {\\n      url\\n      __typename\\n    }\\n    __typename\\n  }\\n  ... on ExerciseType {\\n    id\\n    name\\n    duration\\n    type\\n    cover {\\n      url\\n      __typename\\n    }\\n    __typename\\n  }\\n  ... on QuizContentType {\\n    id\\n    name\\n    duration\\n    type\\n    cover {\\n      url\\n      __typename\\n    }\\n    __typename\\n  }\\n  ... on SurveyContentType {\\n    id\\n    name\\n    duration\\n    type\\n    cover {\\n      url\\n      __typename\\n    }\\n    __typename\\n  }\\n  ... on BaseResourceSchema {\\n    id\\n    name\\n    duration\\n    type\\n    cover {\\n      url\\n      __typename\\n    }\\n    __typename\\n  }\\n  ... on HomeworkType {\\n    id\\n    name\\n    duration\\n    type\\n    cover {\\n      url\\n      __typename\\n    }\\n    __typename\\n  }\\n  ... on ScormContentType {\\n    id\\n    name\\n    duration\\n    type\\n    cover {\\n      url\\n      __typename\\n    }\\n    __typename\\n  }\\n  ... on ExternalEventContentType {\\n    id\\n    name\\n    duration\\n    cover {\\n      url\\n      __typename\\n    }\\n    startTime\\n    type\\n    __typename\\n  }\\n  ... on LiveEventContentType {\\n    id\\n    name\\n    duration\\n    cover {\\n      url\\n      __typename\\n    }\\n    startTime\\n    type\\n    __typename\\n  }\\n  ... on OfflineEventContentType {\\n    id\\n    name\\n    duration\\n    cover {\\n      url\\n      __typename\\n    }\\n    startTime\\n    type\\n    __typename\\n  }\\n}\\n\\nfragment IssuedCertificate on CertificateType {\\n  id\\n  sharedId\\n  name\\n  createdAt\\n  image {\\n    url\\n    __typename\\n  }\\n  html\\n  status\\n  dimensions {\\n    width\\n    height\\n    __typename\\n  }\\n  pdf {\\n    url\\n    __typename\\n  }\\n  content {\\n    ...IssuedCertificateContent\\n    __typename\\n  }\\n}\\n\\nfragment IssuedCertificateContent on ContentEntity {\\n  ... on PathContentType {\\n    id\\n    type\\n    __typename\\n  }\\n  ... on TaskContentType {\\n    id\\n    type\\n    __typename\\n  }\\n  ... on CourseContentType {\\n    id\\n    type\\n    __typename\\n  }\\n  ... on CheckinType {\\n    id\\n    type\\n    __typename\\n  }\\n  ... on ExerciseType {\\n    id\\n    type\\n    __typename\\n  }\\n  ... on QuizContentType {\\n    id\\n    type\\n    __typename\\n  }\\n  ... on ExternalContentType {\\n    id\\n    type\\n    __typename\\n  }\\n  ... on ArticleContentType {\\n    id\\n    type\\n    __typename\\n  }\\n  ... on HomeworkType {\\n    id\\n    type\\n    __typename\\n  }\\n  ... on ScormContentType {\\n    id\\n    type\\n    __typename\\n  }\\n  ... on SurveyContentType {\\n    id\\n    type\\n    __typename\\n  }\\n  ... on BaseResourceSchema {\\n    id\\n    type\\n    __typename\\n  }\\n  ... on ExternalEventContentType {\\n    id\\n    type\\n    __typename\\n  }\\n  ... on OfflineEventContentType {\\n    id\\n    type\\n    __typename\\n  }\\n  ... on LiveEventContentType {\\n    id\\n    type\\n    __typename\\n  }\\n}\\n\\nfragment CheckInContentCard on CheckinType {\\n  id\\n  name\\n  type\\n  duration\\n  description\\n  status\\n  performance {\\n    id\\n    status\\n    estimatedTimeSpent\\n    __typename\\n  }\\n}\\n\\nfragment QuizContentCard on QuizContentType {\\n  id\\n  name\\n  type\\n  status\\n  cover {\\n    ...EntityMedia\\n    __typename\\n  }\\n  questions {\\n    id\\n    __typename\\n  }\\n  instruction {\\n    text\\n    __typename\\n  }\\n  settings {\\n    timeLimit\\n    __typename\\n  }\\n}\\n\\nfragment PathContentCard on PathContentType {\\n  id\\n  name\\n  type\\n  duration\\n  description\\n  status\\n  bookmark {\\n    id\\n    __typename\\n  }\\n  cover {\\n    ...EntityMedia\\n    __typename\\n  }\\n  performance {\\n    id\\n    status\\n    estimatedTimeSpent\\n    enrolmentInfo {\\n      dueDate\\n      __typename\\n    }\\n    __typename\\n  }\\n}\\n\\nfragment CourseContentCard on CourseContentType {\\n  id\\n  name\\n  type\\n  duration\\n  description\\n  status\\n  cover {\\n    ...EntityMedia\\n    __typename\\n  }\\n  bookmark {\\n    id\\n    __typename\\n  }\\n  performance {\\n    id\\n    status\\n    progress\\n    estimatedTimeSpent\\n    __typename\\n  }\\n}\\n\\nfragment ArticleContentCard on ArticleContentType {\\n  id\\n  name\\n  type\\n  duration\\n  description\\n  status\\n  cover {\\n    name\\n    url\\n    size\\n    mimeType\\n    mediaId\\n    kind\\n    __typename\\n  }\\n  bookmark {\\n    id\\n    __typename\\n  }\\n  performance {\\n    id\\n    status\\n    progress\\n    estimatedTimeSpent\\n    __typename\\n  }\\n}\\n\\nfragment TaskContentCard on TaskContentType {\\n  id\\n  name\\n  type\\n  duration\\n  status\\n  instruction {\\n    text\\n    __typename\\n  }\\n  cover {\\n    mediaId\\n    url\\n    __typename\\n  }\\n  performance {\\n    id\\n    status\\n    estimatedTimeSpent\\n    __typename\\n  }\\n}\\n\\nfragment SurveyContentCard on SurveyContentType {\\n  id\\n  name\\n  type\\n  duration\\n  description\\n  cover {\\n    ...EntityMedia\\n    __typename\\n  }\\n  performance {\\n    id\\n    status\\n    progress\\n    estimatedTimeSpent\\n    enrolmentInfo {\\n      dueDate\\n      __typename\\n    }\\n    __typename\\n  }\\n}\\n\\nfragment ExternalContentCard on ExternalContentType {\\n  id\\n  name\\n  type\\n  duration\\n  description\\n  status\\n  objective\\n  cover {\\n    name\\n    url\\n    size\\n    mimeType\\n    mediaId\\n    kind\\n    __typename\\n  }\\n  externalContentType\\n  provider {\\n    id\\n    name\\n    logo {\\n      name\\n      url\\n      size\\n      mimeType\\n      mediaId\\n      kind\\n      __typename\\n    }\\n    url\\n    __typename\\n  }\\n  performance {\\n    id\\n    status\\n    progress\\n    estimatedTimeSpent\\n    __typename\\n  }\\n  bookmark {\\n    id\\n    __typename\\n  }\\n}\\n\\nfragment ExerciseContentCard on ExerciseType {\\n  id\\n  name\\n  type\\n  duration\\n  status\\n  instruction {\\n    text\\n    __typename\\n  }\\n  exerciseQuestions {\\n    ...ExerciseQuestions\\n    __typename\\n  }\\n  cover {\\n    url\\n    __typename\\n  }\\n  reviewerConfig {\\n    type\\n    __typename\\n  }\\n}\\n\\nfragment ExerciseQuestions on ExerciseQuestionType {\\n  id\\n  text\\n  responseType\\n}\\n\\nfragment ScormContentCard on ScormContentType {\\n  id\\n  name\\n  type\\n  duration\\n  description\\n  status\\n  objective\\n  cover {\\n    name\\n    url\\n    size\\n    mimeType\\n    mediaId\\n    kind\\n    __typename\\n  }\\n  scormProperties {\\n    schemaVersion\\n    masteryScore\\n    resourceHref\\n    __typename\\n  }\\n  performance {\\n    id\\n    status\\n    progress\\n    estimatedTimeSpent\\n    __typename\\n  }\\n  bookmark {\\n    id\\n    __typename\\n  }\\n}\\n\\nfragment LiveEventContentCard on LiveEventContentType {\\n  id\\n  name\\n  type\\n  duration\\n  description\\n  startTime\\n  status\\n  cover {\\n    ...EntityMedia\\n    __typename\\n  }\\n  event {\\n    ... on LiveEventType {\\n      status\\n      __typename\\n    }\\n    __typename\\n  }\\n  performance {\\n    id\\n    status\\n    progress\\n    estimatedTimeSpent\\n    __typename\\n  }\\n}\\n\\nfragment OfflineEventContentCard on OfflineEventContentType {\\n  id\\n  name\\n  type\\n  duration\\n  description\\n  startTime\\n  status\\n  cover {\\n    ...EntityMedia\\n    __typename\\n  }\\n  event {\\n    ... on OfflineEventType {\\n      status\\n      __typename\\n    }\\n    __typename\\n  }\\n  performance {\\n    id\\n    status\\n    progress\\n    estimatedTimeSpent\\n    __typename\\n  }\\n}\\n\\nfragment ExternalEventContentCard on ExternalEventContentType {\\n  id\\n  name\\n  type\\n  duration\\n  description\\n  startTime\\n  status\\n  cover {\\n    ...EntityMedia\\n    __typename\\n  }\\n  event {\\n    ... on ExternalEventType {\\n      status\\n      __typename\\n    }\\n    __typename\\n  }\\n  performance {\\n    id\\n    status\\n    progress\\n    estimatedTimeSpent\\n    __typename\\n  }\\n}\\n\\nfragment CertificateSettings on CertificateSettings {\\n  certificateTemplateId\\n  allowLinkedinProfile\\n  allowSocialSharing\\n  allowDownload\\n  minPercentage\\n}\\n\\nfragment CertificateTemplate on CertificateTemplateType {\\n  id\\n  name\\n  description\\n  preview {\\n    url\\n    __typename\\n  }\\n  modelRequirement {\\n    user\\n    __typename\\n  }\\n}\\n\\nfragment VisbilitySettings on VisibilitySettingsType {\\n  groupIds\\n  accessType\\n}\\n","operationName":"learningPath","variables":{"pathId":"6269f836528b4e00124fa5b1"}}' \
  --compressed