Skip to content

Add two new code examples, wrapping them

Amy Qualls requested to merge 325706-aqualls-api-multiline into master

What does this MR do?

Tackles the remaining work in #325706 (closed) to add curl examples to https://docs.gitlab.com/ee/api/discussions.html#line-code thanks to @garyh.

Gary, I need checks on:

  • Wording. I stole liberally from your comment.
  • Check the line wrapping I added to the two new curl examples - did I goof up anything in the process?
  • I added quotation marks around the URLs - tl;dr make sure I didn't introduce errors into your work

Screenshots or Screencasts (strongly suggested)

How to setup and validate locally (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related issues

Closes #325706 (closed)

Edited by Amy Qualls

Merge request reports

Loading