Skip to content

Bulk generating duckies #71

@vcokltfre

Description

@vcokltfre

This proposal is to create an endpoint to allow many duckies to be generated at once, rather than requiring a large number of requests for someone (me) who sometimes wants a large(ish) quantity of ducks at once.

How the endpoint would work

Seeded

POST /duck/bulk
Content-Type: application/json

{
  "seeds": [
    1234,
    5678
  ]
}

Unseeded

GET /duck/bulk?amount=5

Return value

The return value would be an array of objects containing a seed and URL:

[
  {
    "seed": 1234,
    "url": "https://..."
  },
  {
    "seed": 5678,
    "url": "https://..."
  }
]

This format is also related to #70 except it is an array, rather than a single object, but the object schema remains the same.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions