CopyPastor

Detecting plagiarism made easy.

Score: 2; Reported for: String similarity, Exact paragraph match Open both answers

Possible Plagiarism

Reposted on 2025-01-13
by Hongbo Miao

Original Post

Original - Posted on 2025-01-13
by Hongbo Miao



            
Present in both answers; Present only in the new answer; Present only in the old answer;

In new GitHub GraphQL API, you can use GraphQL Explorer at https://docs.github.com/en/graphql/overview/explorer
to run GraphQL query like
```graphql query { repository(owner: "<username>", name: "<reponame>") { languages(first: 100) { edges { node { name } size } } } } ```
It returns things like

```json { "data": { "repository": { "languages": { "edges": [ { "node": { "name": "TypeScript" }, "size": 125962 }, { "node": { "name": "Python" }, "size": 264684 }, { "node": { "name": "Rust" }, "size": 65972 } ] } } } } ```
In new GitHub GraphQL API, you can use GraphQL Explorer at https://docs.github.com/en/graphql/overview/explorer
to run GraphQL query like
```graphql query { repository(owner: "<username>", name: "<reponame>") { languages(first: 100) { edges { node { name } size } } } } ```
It returns things like

```json { "data": { "repository": { "languages": { "edges": [ { "node": { "name": "TypeScript" }, "size": 125962 }, { "node": { "name": "Python" }, "size": 264684 }, { "node": { "name": "Rust" }, "size": 65972 } ] } } } } ```

        
Present in both answers; Present only in the new answer; Present only in the old answer;