Skip to content

apiendpoint #768

@yam949

Description

@yam949

Describe the need

// Octokit.js
// https://github.com/octokit/core.js#readme
const octokit = new Octokit({
auth: 'YOUR-TOKEN'
})

await octokit.request('GET /octocat', {
headers: {
'X-GitHub-Api-Version': '2022-11-28'
}
})

SDK Version

30

API Version

V.1.1.1

Relevant log output

// Octokit.js
// https://github.com/octokit/core.js#readme
const octokit = new Octokit({
  auth: 'YOUR-TOKEN'
})

await octokit.request('GET /octocat', {
  headers: {
    'X-GitHub-Api-Version': '2022-11-28'
  }
})

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: TriageThis is being looked at and prioritizedType: DocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions