repo creation

POST /api/v1/users/:user_id/repos

This is an autogenerated documentation stub. You can edit it in: lurker/api/v1/users/__user_id/repos-POST.md

Response Example

{
  "id": 1,
  "name": "new-gem",
  "user": {
    "id": 1,
    "name": "razum2um",
    "surname": "Unknown"
  }
}

Request Schema

  • additionalProperties: false
  • user_id
    • Required: no
    • Type: string
    • Example: 1
  • repo
    • Required: no
    • additionalProperties: false
    • name
      • Required: no
      • Type: string
      • Example: "new-gem"

Response Schema

  • additionalProperties: false
  • id
    • Required: no
    • Type: integer
    • Example: 1
  • name
    • Required: no
    • Type: string
    • Example: "new-gem"
  • user
    • Required: no
    • additionalProperties: false
    • id
      • Required: no
      • Type: integer
      • Example: 1
    • name
      • Required: no
      • Type: string
      • Example: "razum2um"
    • surname
      • Required: no
      • Type: string
      • Example: "Unknown"