Skip to content
Snippets Groups Projects
Commit f4e7bc83 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis
Browse files

Remove highlighting language from GET codeblocks

[ci skip]
parent b5cc9808
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -168,7 +168,7 @@ returned with status code `404`:
Example of a valid API call and a request using cURL with sudo request,
providing a username:
 
```shell
```
GET /projects?private_token=9koXpg98eAheJpvBs5tK&sudo=username
```
 
Loading
Loading
@@ -179,7 +179,7 @@ curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" --header "SUDO: username" "h
Example of a valid API call and a request using cURL with sudo request,
providing an ID:
 
```shell
```
GET /projects?private_token=9koXpg98eAheJpvBs5tK&sudo=23
```
 
Loading
Loading
@@ -194,8 +194,8 @@ is defined in [`lib/api.rb`][lib-api-url].
 
Example of a valid API request:
 
```shell
GET https://gitlab.example.com/api/v4/projects?private_token=9koXpg98eAheJpvBs5tK
```
GET /projects?private_token=9koXpg98eAheJpvBs5tK
```
 
Example of a valid API request using cURL and authentication via header:
Loading
Loading
@@ -317,14 +317,14 @@ For example, an issue might have `id: 46` and `iid: 5`.
 
That means that if you want to get an issue via the API you should use the `id`:
 
```bash
```
GET /projects/42/issues/:id
```
 
On the other hand, if you want to create a link to a web page you should use
the `iid`:
 
```bash
```
GET /projects/42/issues/:iid
```
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment