Request

Response

    Mutations

    updateHistoryChangeDescription

    mutation

    Updates the description of a specified history change entry.

    Template for Mutation:

    mutation UpdateHistoryChangeDescription($input: updateHistoryChangeDescriptionInput!){
      updateHistoryChangeDescription(input: $input) {
        # UpdateHistoryChangeDescriptionPayload Fields
      }
    }
    

    Arguments

    input*Input object containing the history change ID and the new description.
    * Required

    Possible Returns

    Value TypeDescription
    UpdateHistoryChangeDescriptionPayload! non-null


    Examples

    Example 1

    Updates the description of a history change.

    Query:

     mutation UpdateHistoryChangeDescription($input: UpdateHistoryChangeDescriptionInput!) {
     updateHistoryChangeDescription(input: $input) {
       historyChange {
         id
         description
       }
     }
    }
    
    Show More

    Query Variables:

    {
     "input": {
       "historyChangeId": "d2lwSGlzdG9yeX51cm46YWRzay53aXBzdGc6ZnMuZmlsZTp2Zi5BbVljRGFXTFEwNkg3UkhQelpKbFRnP3ZlcnNpb249MX5taWxlc3RvbmVz",
       "description": "Updated history change description"
     }
    }
    

    Response:

    {
       "data": {
           "updateHistoryChangeDescription": {
               "historyChange": {
                   "id": "d2lwSGlzdG9yeX51cm46YWRzay53aXBzdGc6ZnMuZmlsZTp2Zi5BbVljRGFXTFEwNkg3UkhQelpKbFRnP3ZlcnNpb249MX5taWxlc3RvbmVz",
                   "description": "Updated history change description"
               }
           }
       }
    }
    
    Show More