Open Jean-Baptiste-Lasselle opened 1 year ago
PestoProject
Endpoint which works,I implemented all, now i only need to add 2 rules :
PestoContentType
if project_id doesn't match existing projectPestoContent
if project_id
doesn't match existing projectcontent_type_id
doesn't match existing PestoContentType
- I have my
PestoProject
Endpoint which works,NEXT TODO: OK HERE I NEED TO BE ABLE TO ADD A PESTO CONTENT TYPE INTO A PROJECT BY PROJECT NAME NOT BY PROJECT ID
This one i do not implement it yet, its not interesting, the GET requests anyway always pull mongo db _id
fields, that will be enough to provide a @pesto/api-client
package to be able to hit the pesto api easily
https://github.com/3forges/poc-frontmatter-schema/issues/1 gives me details about the next and last task:
develop
pesto-content-type
Endpoint :project_id
mandatory parameter, provided in the payload to create a newPestoContentType
, does not match any existingPestoProject
_id
, in the MongoDB, then an HTTP error is sent back as response, just like other error handlers.PestoProject
Endpoint, otherwise I can't create any project, so I can't create anyPestoContentType
PestoProject
full feature, with its endpointPestoProject
feature is complete, I can then finally add the feature forPestoContent
, so that i can then 👍 :