Skip to content

Commit

Permalink
docs: add note about json-ld filepath (#1983)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanchristo authored Jul 6, 2023
1 parent 9c55344 commit fbc88ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/tutorials/user/credit-class-project-batch-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,8 @@ Once we have the supporting data for a credit class, project, and batch, we can
curl -X GET -d '<json-ld>' -H "Content-Type: application/json" https://api.registry.regen.network/iri-gen
```

In the above example, you can also use a filepath instead of the raw JSON-LD. To read data from a file directly, you can add the `@` symbol followed by the filepath, e.g. `@/path/to/file.jsonld`.

We now have the IRIs for the `metadata` field of each credit class, project, and batch.

## Data Resolvers
Expand Down

0 comments on commit fbc88ae

Please sign in to comment.