code: protected function sendCreated(Response $response, string $type, array $ids, array $extra = []): Response
      {
          return $this->sendVerb('created', $response, $type, $ids, $extra)
              ->withStatus(201, "Created");
      }
docs: Send notice that an entity was created.
  
  @param \Psr\Http\Message\ResponseInterface $response  The response
  @param string $type  The entity type
  @param array<mixed> $ids  The entity ids
  @param array<string,mixed> $extra  Any extra data to serialize
  @return \Psr\Http\Message\ResponseInterface  The JSON response