diff --git a/docs/api.asciidoc b/docs/api.asciidoc index 24f7e082c..c1c83e362 100644 --- a/docs/api.asciidoc +++ b/docs/api.asciidoc @@ -72,7 +72,7 @@ except ValueError: * `exc_info`: A `(type, value, traceback)` tuple as returned by https://docs.python.org/3/library/sys.html#sys.exc_info[`sys.exc_info()`]. If not provided, it will be captured automatically. * `date`: A `datetime.datetime` object representing the occurrence time of the error. If left empty, it defaults to `datetime.datetime.utcnow()`. * `context`: A dictionary with contextual information. This dictionary must follow the - {apm-guide-ref}/events-api.html#events-api-errors[Context] schema definition. + {apm-guide-ref}/api-error.html[Context] schema definition. * `custom`: A dictionary of custom data you want to attach to the event. * `handled`: A boolean to indicate if this exception was handled or not. @@ -112,7 +112,7 @@ client.capture_message(param_message={ * `date`: A `datetime.datetime` object representing the occurrence time of the error. If left empty, it defaults to `datetime.datetime.utcnow()`. * `context`: A dictionary with contextual information. This dictionary must follow the - {apm-guide-ref}/events-api.html#events-api-errors[Context] schema definition. + {apm-guide-ref}/api-error.html[Context] schema definition. * `custom`: A dictionary of custom data you want to attach to the event. Returns the id of the message as a string.