challenge-api icon indicating copy to clipboard operation
challenge-api copied to clipboard

[$50] Add ability to search by metadata

Open ajefts opened this issue 5 years ago • 8 comments
trafficstars

Add the ability to search for challenges by the metadata fields. For example, topgear would like to search for and see data in the "effort hours" field. The fields should also be available in the response. Let's discuss permission strategy for who should be able to view the metadata.

ajefts avatar Sep 14 '20 18:09 ajefts

fyi @rootelement

ajefts avatar Sep 15 '20 12:09 ajefts

Contest https://www.topcoder.com/challenges/30142350 has been created for this ticket.

This is an automated message for jcori via Topcoder X

rootelement avatar Sep 17 '20 17:09 rootelement

Contest https://www.topcoder.com/challenges/30142350 has been updated - it has been assigned to thomaskranitsas.

This is an automated message for jcori via Topcoder X

rootelement avatar Sep 17 '20 17:09 rootelement

@ajefts do we allow specific metadata keys or should we think about how to allow “any kind of metadata”?

For example, ?meta.effortHours=<something>&meta.somethingElse=<something>.

So, anything with meta.* will be used for searching on the metadata property.

cc @rootelement

ThomasKranitsas avatar Sep 17 '20 17:09 ThomasKranitsas

This looks good @ThomasKranitsas Please open a ticket to get this implemented on a branch for our review.

rootelement avatar Sep 22 '20 17:09 rootelement

PR https://github.com/topcoder-platform/challenge-api/pull/299

ThomasKranitsas avatar Sep 22 '20 18:09 ThomasKranitsas

Payment task has been updated: https://software.topcoder.com/review/actions/ViewProjectDetails?pid=30142350

This is an automated message for jcori via Topcoder X

rootelement avatar Nov 03 '20 15:11 rootelement

@rootelement @ThomasKranitsas This doesn't seem to be working. I can see the stockart, but I don't see the other metadata fields like effort hours.

ajefts avatar Jan 19 '21 13:01 ajefts