Skip to content
This repository has been archived by the owner on Sep 5, 2020. It is now read-only.

Feature Request: Add list of pods to hosts, and add privacy settings to manifest #82

Open
sharafian opened this issue Jun 28, 2018 · 1 comment
Assignees
Labels
feature request New feature or request

Comments

@sharafian
Copy link

  • Adding an endpoint to list all pods by manifest hash would be a useful feature for people who want to analyze the codius network. It would also be useful for discovering where specific contracts are being run.

  • Some people might want to run a contract privately, especially during development. To address this, we can add an "unlisted" field to the manifest, which prevents this pod from being shown on the list of pods by hash. It would still be shown in the host operator's admin API and would still count towards their number of running contracts (or not; that's something I could go either way on)

  • Currently, if you call GET /pods?manifestHash=HASH, you'll get the manifest corresponding to HASH. You might not want this to be public, though. We should add a "privateManifest" field which disables that behavior when it's set to true.

@spearl spearl added the feature request New feature or request label Jun 29, 2018
@njlie njlie self-assigned this Jul 24, 2018
@codiushosts
Copy link

I see that there has been some work on this, but I wanted to ask for another request, if possible.

Is there any way to expose an 'obscured' id for any unlisted pods instead of exposing a hash. This could quite possibly be a hash of the hash. We're trying to track the count/duration/etc of distinct contracts running on hosts. We're not as interested of the content of the pod/hash/manifest, but rather some kind of unique indicator to track.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants