Skip to content
Snippets Groups Projects
Closed Required parameters for new snippet do not match API spec
  • View options
  • Required parameters for new snippet do not match API spec

  • View options
  • Closed Issue created by username-removed-143716

    The API states that in order to create a snippet, the following parameters are optional:

    • title
    • file_name
    • code

    However, attempting to create a snippet using the API will result in Bad request errors unless all three parameters are provided, as well as visibility_level, which the spec does not mention.

    Linked items 0

  • Link items together to show that they're related or that one is blocking others.

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first