Open sudan45 opened 5 months ago
The current publish regions feature uses a REST API, but you need it to work with a GraphQL mutation.
publish regions
The publish regions feature should function using a GraphQL mutation for creating organizations.
Rest Framework urls
method: POST url: /api/v1/regions/<region:ID>/publish/ request payload: {} response:{ "id": ID, "modifiedAt": Datetime, "modifiedBy": ID, "createdByName": str, "modifiedByName": str, "versionId": ID, "adminLevels": [ { "id": ID, "title": str, "level": int, "nameProp":str, "codeProp": str, "parentNameProp": str, "parentCodeProp": str } ], "isPublished": bool, "createdAt": datetime, "code": str, "title": str, "public": bool, "cacheIndex": int, "createdBy": ID }
PR : https://github.com/the-deep/server/pull/1472
Problem Statement
The current
publish regions
feature uses a REST API, but you need it to work with a GraphQL mutation.Acceptance Criteria
The
publish regions
feature should function using a GraphQL mutation for creating organizations.Additional Information
Rest Framework urls