Skip to content

Add request with tag #177

@StefanoMartin

Description

@StefanoMartin

Suppose you have three networks.

AAACCC, AAABBB, BBBCCC

And then you have two requests

Wappsto.Network.findByName('AAA', 2)
Wappsto.Network.findByName('BBB', 2)

Then it is hard to understand which networks are assigned for the first request and which one for the second request.
To simplify this I suggest to add some tag behind the scene.

So

Wappsto.Network.findByName('AAA', 2)

instead to be only

GET /network?this_name=AAA&quantity=2

could be something like:

  1. GET /network?this_meta.tag_by_user=tag_request
  2. If found network, return networks
  3. Otherwise do: GET /network?this_name=AAA&quantity=2
  4. Follow the usual notification flow
  5. After received the network use: POST /network/meta.tag_by_user?id=[network_ids] with body tag_request
  6. Return the networks

Tag_request can be any string, but it should be unique for request.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions